home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 April / macformat-023.iso / Shareware City / HyperCard / Dock / Dock programs Folder / lysLink < prev    next >
HyperCard Stack  |  1994-12-20  |  39.1 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: HyperCard Stack (archive/hypercard).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) magic Supported
100% file data default
100% TrID HyperCard Stack default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 72 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..r.STAK|........|
|00000010| 00 00 00 0a 00 00 9c 40 | 00 00 72 00 00 00 00 00 |.......@|..r.....|
|00000020| 00 00 00 00 00 00 00 01 | 00 00 0a 93 00 00 00 01 |........|........|
|00000030| 00 00 0b e1 00 00 08 1c | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 ce 68 68 c4 | 00 05 00 00 10 00 00 00 |.....hh.|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 02 00 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|00000070| 11 0b 36 6f 00 00 00 00 | 00 87 00 b0 01 27 01 f0 |..6o....|.....'..|
|00000080| 00 00 00 00 01 56 02 00 | 00 00 00 00 00 00 00 00 |.....V..|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 0d 52 00 00 0c af | 00 a0 01 40 00 00 00 00 |...R....|...@....|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|000002d0| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|000002e0| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|000002f0| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000300| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000310| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|00000320| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|00000330| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|00000340| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|00000350| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|00000360| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|00000370| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000380| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000390| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|000003a0| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|000003b0| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|000003c0| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|000003d0| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|000003e0| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|000003f0| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 6f 6e 20 69 6d 70 6f 72 | 74 4c 0d 67 6c 6f 62 61 |on impor|tL.globa|
|00000610| 6c 20 62 73 6d 73 6c 69 | 6e 6b 48 52 2c 6d 79 67 |l bsmsli|nkHR,myg|
|00000620| 6c 6f 62 2c 70 72 6d 70 | 74 2c 6c 70 72 6d 70 74 |lob,prmp|t,lprmpt|
|00000630| 0d 70 75 74 20 6c 69 6e | 65 20 31 36 30 20 6f 66 |.put lin|e 160 of|
|00000640| 20 6c 70 72 6d 70 74 20 | 69 6e 74 6f 20 70 72 6f | lprmpt |into pro|
|00000650| 6d 70 74 0d 69 66 20 73 | 68 6f 72 74 20 6e 61 6d |mpt.if s|hort nam|
|00000660| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00000670| 69 73 20 6d 79 67 6c 6f | 62 20 74 68 65 6e 20 61 |is myglo|b then a|
|00000680| 6e 73 77 65 72 20 70 72 | 6f 6d 70 74 20 77 69 74 |nswer pr|ompt wit|
|00000690| 68 20 6c 69 6e 65 20 36 | 37 20 6f 66 20 70 72 6d |h line 6|7 of prm|
|000006a0| 70 74 2c 6c 69 6e 65 20 | 32 20 6f 66 20 70 72 6d |pt,line |2 of prm|
|000006b0| 70 74 0d 65 6c 73 65 20 | 61 6e 73 77 65 72 20 70 |pt.else |answer p|
|000006c0| 72 6f 6d 70 74 20 77 69 | 74 68 20 6c 69 6e 65 20 |rompt wi|th line |
|000006d0| 36 36 20 6f 66 20 70 72 | 6d 70 74 2c 6c 69 6e 65 |66 of pr|mpt,line|
|000006e0| 20 36 37 20 6f 66 20 70 | 72 6d 70 74 2c 6c 69 6e | 67 of p|rmpt,lin|
|000006f0| 65 20 32 20 6f 66 20 70 | 72 6d 70 74 0d 69 66 20 |e 2 of p|rmpt.if |
|00000700| 69 74 20 69 73 20 6c 69 | 6e 65 20 32 20 6f 66 20 |it is li|ne 2 of |
|00000710| 70 72 6d 70 74 20 74 68 | 65 6e 20 65 78 69 74 20 |prmpt th|en exit |
|00000720| 69 6d 70 6f 72 74 4c 0d | 70 75 73 68 20 63 61 72 |importL.|push car|
|00000730| 64 0d 69 66 20 69 74 20 | 69 73 20 6c 69 6e 65 20 |d.if it |is line |
|00000740| 36 37 20 6f 66 20 70 72 | 6d 70 74 20 74 68 65 6e |67 of pr|mpt then|
|00000750| 0d 61 6e 73 77 65 72 20 | 66 69 6c 65 20 70 72 6f |.answer |file pro|
|00000760| 6d 70 74 20 6f 66 20 74 | 79 70 65 20 22 54 45 58 |mpt of t|ype "TEX|
|00000770| 54 22 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |T".if it| is empt|
|00000780| 79 20 6f 72 20 74 68 65 | 20 72 65 73 75 6c 74 20 |y or the| result |
|00000790| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e |is "Canc|el" then|
|000007a0| 20 65 78 69 74 20 69 6d | 70 6f 72 74 4c 0d 70 75 | exit im|portL.pu|
|000007b0| 74 20 69 74 20 69 6e 74 | 6f 20 66 69 6c 65 6e 61 |t it int|o filena|
|000007c0| 6d 65 0d 6f 70 65 6e 20 | 66 69 6c 65 20 66 69 6c |me.open |file fil|
|000007d0| 65 6e 61 6d 65 0d 72 65 | 61 64 20 66 72 6f 6d 20 |ename.re|ad from |
|000007e0| 66 69 6c 65 20 66 69 6c | 65 6e 61 6d 65 20 75 6e |file fil|ename un|
|000007f0| 74 69 6c 20 45 4f 46 0d | 70 75 74 20 69 74 20 69 |til EOF.|put it i|
|00000800| 6e 74 6f 20 74 68 65 6e | 65 77 6c 69 6e 6b 73 0d |nto then|ewlinks.|
|00000810| 63 6c 6f 73 65 20 66 69 | 6c 65 20 66 69 6c 65 6e |close fi|le filen|
|00000820| 61 6d 65 0d 65 6c 73 65 | 20 70 75 74 20 62 73 6d |ame.else| put bsm|
|00000830| 73 6c 69 6e 6b 48 52 20 | 69 6e 74 6f 20 74 68 65 |slinkHR |into the|
|00000840| 6e 65 77 6c 69 6e 6b 73 | 0d 6c 6f 63 6b 74 69 74 |newlinks|.locktit|
|00000850| 65 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |e.repeat| with i |
|00000860| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00000870| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 74 68 |r of lin|es in th|
|00000880| 65 6e 65 77 6c 69 6e 6b | 73 0d 70 75 74 20 6c 69 |enewlink|s.put li|
|00000890| 6e 65 20 69 20 6f 66 20 | 74 68 65 6e 65 77 6c 69 |ne i of |thenewli|
|000008a0| 6e 6b 73 20 69 6e 74 6f | 20 6c 69 6e 6b 6c 69 6e |nks into| linklin|
|000008b0| 65 0d 6d 6f 76 65 44 6c | 69 6e 6b 20 6c 69 6e 6b |e.moveDl|ink link|
|000008c0| 6c 69 6e 65 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |line.end| repeat.|
|000008d0| 70 6f 70 20 63 61 72 64 | 0d 6d 61 69 6e 74 61 69 |pop card|.maintai|
|000008e0| 6e 4c 0d 65 6e 64 20 69 | 6d 70 6f 72 74 4c 0d 6f |nL.end i|mportL.o|
|000008f0| 6e 20 6d 6f 76 65 44 6c | 69 6e 6b 20 6c 69 6e 6b |n moveDl|ink link|
|00000900| 6c 69 6e 65 0d 67 6c 6f | 62 61 6c 20 62 69 7a 61 |line.glo|bal biza|
|00000910| 72 72 65 0d 70 75 74 20 | 6c 61 73 74 20 77 6f 72 |rre.put |last wor|
|00000920| 64 20 6f 66 20 6c 69 6e | 6b 6c 69 6e 65 20 69 6e |d of lin|kline in|
|00000930| 74 6f 20 6d 6c 61 70 68 | 0d 70 75 74 20 76 61 6c |to mlaph|.put val|
|00000940| 75 65 28 6d 6c 61 70 68 | 29 20 69 6e 74 6f 20 6d |ue(mlaph|) into m|
|00000950| 75 6e 6c 61 70 68 0d 70 | 75 74 20 63 68 61 72 20 |unlaph.p|ut char |
|00000960| 32 20 6f 66 20 6d 6c 61 | 70 68 20 69 6e 74 6f 20 |2 of mla|ph into |
|00000970| 74 68 65 70 6c 61 63 65 | 0d 69 66 20 74 68 65 70 |theplace|.if thep|
|00000980| 6c 61 63 65 20 69 73 20 | 61 20 6e 75 6d 62 65 72 |lace is |a number|
|00000990| 20 74 68 65 6e 20 70 75 | 74 20 22 2a 22 20 69 6e | then pu|t "*" in|
|000009a0| 74 6f 20 74 68 65 70 6c | 61 63 65 0d 69 66 20 74 |to thepl|ace.if t|
|000009b0| 68 65 72 65 20 69 73 20 | 61 20 63 61 72 64 20 74 |here is |a card t|
|000009c0| 68 65 70 6c 61 63 65 20 | 74 68 65 6e 0d 67 6f 20 |heplace |then.go |
|000009d0| 63 61 72 64 20 74 68 65 | 70 6c 61 63 65 0d 65 6c |card the|place.el|
|000009e0| 73 65 0d 67 6f 20 63 61 | 72 64 20 22 2a 22 0d 72 |se.go ca|rd "*".r|
|000009f0| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00000a00| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00000a10| 66 20 6c 69 6e 65 73 20 | 69 6e 20 62 69 7a 61 72 |f lines |in bizar|
|00000a20| 72 65 0d 69 66 20 74 68 | 65 70 6c 61 63 65 20 69 |re.if th|eplace i|
|00000a30| 73 20 69 74 65 6d 20 31 | 20 6f 66 20 6c 69 6e 65 |s item 1| of line|
|00000a40| 20 69 20 6f 66 20 62 69 | 7a 61 72 72 65 20 74 68 | i of bi|zarre th|
|00000a50| 65 6e 0d 67 6f 20 63 61 | 72 64 20 28 69 74 65 6d |en.go ca|rd (item|
|00000a60| 20 32 20 6f 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 | 2 of li|ne i of |
|00000a70| 62 69 7a 61 72 72 65 29 | 0d 65 78 69 74 20 72 65 |bizarre)|.exit re|
|00000a80| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00000a90| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 69 66 |repeat.e|nd if.if|
|00000aa0| 20 6c 69 6e 6b 6c 69 6e | 65 20 69 73 20 6e 6f 74 | linklin|e is not|
|00000ab0| 20 69 6e 20 66 69 65 6c | 64 20 22 62 73 6d 73 6c | in fiel|d "bsmsl|
|00000ac0| 69 6e 6b 48 52 22 20 74 | 68 65 6e 0d 70 75 74 20 |inkHR" t|hen.put |
|00000ad0| 6d 6c 61 70 68 20 26 20 | 72 65 74 75 72 6e 20 61 |mlaph & |return a|
|00000ae0| 66 74 65 72 20 66 69 65 | 6c 64 20 22 62 73 6d 73 |fter fie|ld "bsms|
|00000af0| 6c 69 6e 6b 4b 57 22 0d | 70 75 74 20 6d 75 6e 6c |linkKW".|put munl|
|00000b00| 61 70 68 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |aph & re|turn aft|
|00000b10| 65 72 20 66 69 65 6c 64 | 20 22 62 73 6d 73 6c 69 |er field| "bsmsli|
|00000b20| 6e 6b 4c 52 22 0d 70 75 | 74 20 6c 69 6e 6b 6c 69 |nkLR".pu|t linkli|
|00000b30| 6e 65 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |ne & ret|urn afte|
|00000b40| 72 20 66 69 65 6c 64 20 | 22 62 73 6d 73 6c 69 6e |r field |"bsmslin|
|00000b50| 6b 48 52 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |kHR".end| if.end |
|00000b60| 6d 6f 76 65 44 6c 69 6e | 6b 0d 6f 6e 20 6c 79 73 |moveDlin|k.on lys|
|00000b70| 6d 6f 64 64 0d 70 75 74 | 20 74 68 65 20 73 68 6f |modd.put| the sho|
|00000b80| 72 74 20 64 61 74 65 20 | 69 6e 74 6f 20 6c 69 6e |rt date |into lin|
|00000b90| 65 20 31 20 6f 66 20 66 | 69 65 6c 64 20 22 6d 6f |e 1 of f|ield "mo|
|00000ba0| 64 69 66 69 65 64 22 0d | 70 75 74 20 74 68 65 20 |dified".|put the |
|00000bb0| 73 65 63 6f 6e 64 73 20 | 69 6e 74 6f 20 6c 69 6e |seconds |into lin|
|00000bc0| 65 20 32 20 6f 66 20 66 | 69 65 6c 64 20 22 6d 6f |e 2 of f|ield "mo|
|00000bd0| 64 69 66 69 65 64 22 0d | 65 6e 64 20 6c 79 73 6d |dified".|end lysm|
|00000be0| 6f 64 64 0d 6f 6e 20 63 | 6c 6f 73 65 66 69 65 6c |odd.on c|losefiel|
|00000bf0| 64 0d 69 66 20 6e 6f 74 | 6d 77 73 74 61 63 6b 28 |d.if not|mwstack(|
|00000c00| 29 20 69 73 20 66 61 6c | 73 65 20 74 68 65 6e 20 |) is fal|se then |
|00000c10| 6c 79 73 6d 6f 64 64 0d | 70 61 73 73 20 63 6c 6f |lysmodd.|pass clo|
|00000c20| 73 65 66 69 65 6c 64 0d | 65 6e 64 20 63 6c 6f 73 |sefield.|end clos|
|00000c30| 65 66 69 65 6c 64 0d 66 | 75 6e 63 74 69 6f 6e 20 |efield.f|unction |
|00000c40| 69 6d 70 6e 6e 0d 67 6c | 6f 62 61 6c 20 70 72 6d |impnn.gl|obal prm|
|00000c50| 70 74 2c 6c 70 72 6d 70 | 74 0d 69 66 20 74 68 65 |pt,lprmp|t.if the|
|00000c60| 20 6e 75 6d 62 65 72 20 | 6f 66 20 66 6c 64 73 20 | number |of flds |
|00000c70| 69 73 20 30 20 74 68 65 | 6e 20 72 65 74 75 72 6e |is 0 the|n return|
|00000c80| 20 65 6d 70 74 79 0d 70 | 75 74 20 65 6d 70 74 79 | empty.p|ut empty|
|00000c90| 20 69 6e 74 6f 20 74 66 | 64 73 0d 72 65 70 65 61 | into tf|ds.repea|
|00000ca0| 74 20 77 69 74 68 20 69 | 3d 31 20 74 6f 20 74 68 |t with i|=1 to th|
|00000cb0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 66 6c 64 73 |e number| of flds|
|00000cc0| 0d 69 66 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |.if the |visible |
|00000cd0| 6f 66 20 66 6c 64 20 69 | 20 61 6e 64 20 6e 6f 74 |of fld i| and not|
|00000ce0| 20 74 68 65 20 73 68 61 | 72 65 64 74 65 78 74 20 | the sha|redtext |
|00000cf0| 6f 66 20 66 6c 64 20 69 | 20 74 68 65 6e 20 70 75 |of fld i| then pu|
|00000d00| 74 20 28 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |t (short| name of|
|00000d10| 20 66 6c 64 20 69 29 20 | 26 20 72 65 74 75 72 6e | fld i) |& return|
|00000d20| 20 61 66 74 65 72 20 74 | 66 64 73 0d 65 6e 64 20 | after t|fds.end |
|00000d30| 72 65 70 65 61 74 0d 69 | 66 20 74 66 64 73 20 69 |repeat.i|f tfds i|
|00000d40| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 72 65 74 |s empty |then ret|
|00000d50| 75 72 6e 20 65 6d 70 74 | 79 0d 70 75 74 20 6c 69 |urn empt|y.put li|
|00000d60| 6e 65 20 31 35 39 20 6f | 66 20 6c 70 72 6d 70 74 |ne 159 o|f lprmpt|
|00000d70| 20 69 6e 74 6f 20 70 72 | 6f 6d 70 74 0d 67 65 74 | into pr|ompt.get|
|00000d80| 20 73 68 6f 77 4c 69 73 | 74 28 74 66 64 73 2c 70 | showLis|t(tfds,p|
|00000d90| 72 6f 6d 70 74 2c 66 61 | 6c 73 65 2c 74 72 75 65 |rompt,fa|lse,true|
|00000da0| 2c 6c 69 6e 65 20 34 34 | 20 6f 66 20 70 72 6d 70 |,line 44| of prmp|
|00000db0| 74 2c 31 2c 36 34 2c 36 | 34 29 0d 69 66 20 6c 69 |t,1,64,6|4).if li|
|00000dc0| 6e 65 20 31 20 6f 66 20 | 69 74 20 69 73 20 6c 69 |ne 1 of |it is li|
|00000dd0| 6e 65 20 32 20 6f 66 20 | 70 72 6d 70 74 20 74 68 |ne 2 of |prmpt th|
|00000de0| 65 6e 20 72 65 74 75 72 | 6e 20 65 6d 70 74 79 0d |en retur|n empty.|
|00000df0| 70 75 74 20 6c 69 6e 65 | 20 28 69 74 65 6d 20 31 |put line| (item 1|
|00000e00| 20 6f 66 20 6c 69 6e 65 | 20 32 20 6f 66 20 69 74 | of line| 2 of it|
|00000e10| 29 20 6f 66 20 74 66 64 | 73 20 69 6e 74 6f 20 74 |) of tfd|s into t|
|00000e20| 66 64 0d 72 65 74 75 72 | 6e 20 74 66 64 0d 65 6e |fd.retur|n tfd.en|
|00000e30| 64 20 69 6d 70 6e 6e 0d | 6f 6e 20 75 6e 66 6f 72 |d impnn.|on unfor|
|00000e40| 69 6d 70 20 61 64 72 65 | 73 73 65 0d 67 6c 6f 62 |imp adre|sse.glob|
|00000e50| 61 6c 20 6c 70 72 6d 70 | 74 0d 69 66 20 74 68 65 |al lprmp|t.if the|
|00000e60| 72 65 20 69 73 20 6e 6f | 74 20 61 20 66 69 65 6c |re is no|t a fiel|
|00000e70| 64 20 22 62 6f 64 74 69 | 74 6c 65 22 20 6f 72 20 |d "bodti|tle" or |
|00000e80| 74 68 65 72 65 20 69 73 | 20 6e 6f 74 20 61 20 66 |there is| not a f|
|00000e90| 69 65 6c 64 20 22 6c 65 | 74 65 78 74 65 22 20 74 |ield "le|texte" t|
|00000ea0| 68 65 6e 20 70 75 74 20 | 69 6d 70 6e 6e 28 29 20 |hen put |impnn() |
|00000eb0| 69 6e 74 6f 20 74 66 64 | 0d 65 6c 73 65 20 70 75 |into tfd|.else pu|
|00000ec0| 74 20 22 6c 65 74 65 78 | 74 65 22 20 69 6e 74 6f |t "letex|te" into|
|00000ed0| 20 74 66 64 0d 69 66 20 | 74 66 64 20 69 73 20 65 | tfd.if |tfd is e|
|00000ee0| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 75 |mpty the|n exit u|
|00000ef0| 6e 66 6f 72 69 6d 70 0d | 61 6e 73 77 65 72 20 66 |nforimp.|answer f|
|00000f00| 69 6c 65 20 28 6c 69 6e | 65 20 31 35 38 20 6f 66 |ile (lin|e 158 of|
|00000f10| 20 6c 70 72 6d 70 74 29 | 20 6f 66 20 74 79 70 65 | lprmpt)| of type|
|00000f20| 20 22 54 45 58 54 22 0d | 69 66 20 69 74 20 69 73 | "TEXT".|if it is|
|00000f30| 20 65 6d 70 74 79 20 6f | 72 20 74 68 65 20 72 65 | empty o|r the re|
|00000f40| 73 75 6c 74 20 69 73 20 | 22 43 61 6e 63 65 6c 22 |sult is |"Cancel"|
|00000f50| 20 74 68 65 6e 20 65 78 | 69 74 20 75 6e 66 6f 72 | then ex|it unfor|
|00000f60| 69 6d 70 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |imp.put |it into |
|00000f70| 66 69 6c 65 6e 61 6d 65 | 0d 6f 70 65 6e 20 66 69 |filename|.open fi|
|00000f80| 6c 65 20 66 69 6c 65 6e | 61 6d 65 0d 72 65 61 64 |le filen|ame.read|
|00000f90| 20 66 72 6f 6d 20 66 69 | 6c 65 20 66 69 6c 65 6e | from fi|le filen|
|00000fa0| 61 6d 65 20 75 6e 74 69 | 6c 20 65 6f 66 0d 63 6c |ame unti|l eof.cl|
|00000fb0| 6f 73 65 20 66 69 6c 65 | 20 66 69 6c 65 6e 61 6d |ose file| filenam|
|00000fc0| 65 0d 69 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |e.if it |is empty|
|00000fd0| 20 74 68 65 6e 20 65 78 | 69 74 20 75 6e 66 6f 72 | then ex|it unfor|
|00000fe0| 69 6d 70 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |imp.put |it into |
|00000ff0| 6c 79 73 49 6e 63 6f 6d | 69 6e 67 0d 73 65 74 20 |lysIncom|ing.set |
|00001000| 69 74 65 6d 64 65 6c 69 | 6d 69 74 65 72 20 74 6f |itemdeli|miter to|
|00001010| 20 63 6f 6c 6f 6e 0d 70 | 75 74 20 6c 61 73 74 20 | colon.p|ut last |
|00001020| 69 74 65 6d 20 6f 66 20 | 66 69 6c 65 6e 61 6d 65 |item of |filename|
|00001030| 20 69 6e 74 6f 20 66 69 | 6c 65 6e 61 6d 65 0d 73 | into fi|lename.s|
|00001040| 65 74 20 69 74 65 6d 64 | 65 6c 69 6d 69 74 65 72 |et itemd|elimiter|
|00001050| 20 74 6f 20 63 6f 6d 6d | 61 0d 6c 6f 63 6b 74 69 | to comm|a.lockti|
|00001060| 74 65 0d 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 |te.put t|he numbe|
|00001070| 72 20 6f 66 20 63 64 73 | 20 69 6e 74 6f 20 63 6e |r of cds| into cn|
|00001080| 0d 72 65 70 65 61 74 20 | 77 68 69 6c 65 20 6c 79 |.repeat |while ly|
|00001090| 73 49 6e 63 6f 6d 69 6e | 67 20 69 73 20 6e 6f 74 |sIncomin|g is not|
|000010a0| 20 65 6d 70 74 79 0d 64 | 6f 6d 65 6e 75 20 22 4e | empty.d|omenu "N|
|000010b0| 65 77 20 43 61 72 64 22 | 0d 69 66 20 74 68 65 20 |ew Card"|.if the |
|000010c0| 6e 75 6d 62 65 72 20 6f | 66 20 63 64 73 20 69 73 |number o|f cds is|
|000010d0| 20 63 6e 20 74 68 65 6e | 0d 62 65 65 70 0d 65 78 | cn then|.beep.ex|
|000010e0| 69 74 20 75 6e 66 6f 72 | 69 6d 70 0d 65 6e 64 20 |it unfor|imp.end |
|000010f0| 69 66 0d 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 |if.set t|he name |
|00001100| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 74 6f 20 |of this |card to |
|00001110| 66 69 6c 65 6e 61 6d 65 | 0d 69 66 20 74 66 64 20 |filename|.if tfd |
|00001120| 69 73 20 22 6c 65 74 65 | 78 74 65 22 20 74 68 65 |is "lete|xte" the|
|00001130| 6e 0d 70 75 74 20 66 69 | 6c 65 6e 61 6d 65 20 69 |n.put fi|lename i|
|00001140| 6e 74 6f 20 66 69 65 6c | 64 20 22 62 6f 64 74 69 |nto fiel|d "bodti|
|00001150| 74 6c 65 22 0d 70 75 74 | 20 63 68 61 72 20 31 20 |tle".put| char 1 |
|00001160| 74 6f 20 32 35 30 30 30 | 20 6f 66 20 6c 79 73 69 |to 25000| of lysi|
|00001170| 6e 63 6f 6d 69 6e 67 20 | 69 6e 74 6f 20 66 6c 64 |ncoming |into fld|
|00001180| 20 74 66 64 0d 72 65 63 | 64 61 0d 65 6c 73 65 0d | tfd.rec|da.else.|
|00001190| 69 66 20 22 62 6b 67 6e | 64 20 66 69 65 6c 64 20 |if "bkgn|d field |
|000011a0| 69 64 22 20 69 73 20 69 | 6e 20 74 66 64 20 74 68 |id" is i|n tfd th|
|000011b0| 65 6e 20 70 75 74 20 63 | 68 61 72 20 31 20 74 6f |en put c|har 1 to|
|000011c0| 20 32 35 30 30 30 20 6f | 66 20 6c 79 73 69 6e 63 | 25000 o|f lysinc|
|000011d0| 6f 6d 69 6e 67 20 69 6e | 74 6f 20 66 6c 64 20 69 |oming in|to fld i|
|000011e0| 64 20 28 6c 61 73 74 20 | 77 6f 72 64 20 6f 66 20 |d (last |word of |
|000011f0| 74 66 64 29 0d 65 6c 73 | 65 20 70 75 74 20 63 68 |tfd).els|e put ch|
|00001200| 61 72 20 31 20 74 6f 20 | 32 35 30 30 30 20 6f 66 |ar 1 to |25000 of|
|00001210| 20 6c 79 73 69 6e 63 6f | 6d 69 6e 67 20 69 6e 74 | lysinco|ming int|
|00001220| 6f 20 66 6c 64 20 74 66 | 64 0d 65 6e 64 20 69 66 |o fld tf|d.end if|
|00001230| 0d 64 65 6c 65 74 65 20 | 63 68 61 72 20 31 20 74 |.delete |char 1 t|
|00001240| 6f 20 32 35 30 30 30 20 | 6f 66 20 6c 79 73 69 6e |o 25000 |of lysin|
|00001250| 63 6f 6d 69 6e 67 0d 65 | 6e 64 20 72 65 70 65 61 |coming.e|nd repea|
|00001260| 74 0d 6f 70 65 6e 43 61 | 72 64 0d 65 6e 64 20 75 |t.openCa|rd.end u|
|00001270| 6e 66 6f 72 69 6d 70 0d | 66 75 6e 63 74 69 6f 6e |nforimp.|function|
|00001280| 20 6c 65 73 6d 6f 74 73 | 20 74 68 65 6e 61 6d 65 | lesmots| thename|
|00001290| 0d 72 65 74 75 72 6e 20 | 77 6f 72 64 20 31 20 74 |.return |word 1 t|
|000012a0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|000012b0| 77 6f 72 64 73 20 69 6e | 20 74 68 65 6e 61 6d 65 |words in| thename|
|000012c0| 20 6f 66 20 74 68 65 6e | 61 6d 65 0d 65 6e 64 20 | of then|ame.end |
|000012d0| 6c 65 73 6d 6f 74 73 0d | 66 75 6e 63 74 69 6f 6e |lesmots.|function|
|000012e0| 20 64 6f 63 6b 69 74 65 | 6d 0d 70 75 74 20 74 68 | dockite|m.put th|
|000012f0| 65 20 63 6c 69 63 6b 74 | 65 78 74 20 69 6e 74 6f |e clickt|ext into|
|00001300| 20 74 68 65 74 65 78 74 | 0d 69 66 20 74 68 65 74 | thetext|.if thet|
|00001310| 65 78 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ext is e|mpty the|
|00001320| 6e 20 72 65 74 75 72 6e | 20 65 6d 70 74 79 0d 70 |n return| empty.p|
|00001330| 75 74 20 74 68 65 20 63 | 6c 69 63 6b 43 68 75 6e |ut the c|lickChun|
|00001340| 6b 20 69 6e 74 6f 20 74 | 68 65 63 68 75 6e 6b 0d |k into t|hechunk.|
|00001350| 70 75 74 20 77 6f 72 64 | 20 32 20 6f 66 20 74 68 |put word| 2 of th|
|00001360| 65 63 68 75 6e 6b 20 69 | 6e 74 6f 20 74 68 65 62 |echunk i|nto theb|
|00001370| 65 67 0d 70 75 74 20 77 | 6f 72 64 20 34 20 6f 66 |eg.put w|ord 4 of|
|00001380| 20 74 68 65 63 68 75 6e | 6b 20 69 6e 74 6f 20 74 | thechun|k into t|
|00001390| 68 65 65 6e 64 0d 70 75 | 74 20 76 61 6c 75 65 28 |heend.pu|t value(|
|000013a0| 74 68 65 20 74 61 72 67 | 65 74 29 20 69 6e 74 6f |the targ|et) into|
|000013b0| 20 74 61 72 74 65 78 0d | 72 65 70 65 61 74 20 75 | tartex.|repeat u|
|000013c0| 6e 74 69 6c 20 74 68 65 | 62 65 67 20 69 73 20 30 |ntil the|beg is 0|
|000013d0| 0d 73 75 62 74 72 61 63 | 74 20 31 20 66 72 6f 6d |.subtrac|t 1 from|
|000013e0| 20 74 68 65 62 65 67 0d | 70 75 74 20 63 68 61 72 | thebeg.|put char|
|000013f0| 20 74 68 65 62 65 67 20 | 6f 66 20 74 61 72 74 65 | thebeg |of tarte|
|00001400| 78 20 69 6e 74 6f 20 74 | 61 72 63 68 61 0d 69 66 |x into t|archa.if|
|00001410| 20 74 61 72 63 68 61 20 | 69 73 20 63 6f 6d 6d 61 | tarcha |is comma|
|00001420| 20 6f 72 20 74 61 72 63 | 68 61 20 69 73 20 72 65 | or tarc|ha is re|
|00001430| 74 75 72 6e 20 74 68 65 | 6e 20 65 78 69 74 20 72 |turn the|n exit r|
|00001440| 65 70 65 61 74 0d 70 75 | 74 20 74 61 72 63 68 61 |epeat.pu|t tarcha|
|00001450| 20 62 65 66 6f 72 65 20 | 74 68 65 74 65 78 74 0d | before |thetext.|
|00001460| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 74 |end repe|at.put t|
|00001470| 72 75 65 20 69 6e 74 6f | 20 74 61 72 63 68 61 0d |rue into| tarcha.|
|00001480| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 74 61 72 |repeat u|ntil tar|
|00001490| 63 68 61 20 69 73 20 65 | 6d 70 74 79 0d 61 64 64 |cha is e|mpty.add|
|000014a0| 20 31 20 74 6f 20 74 68 | 65 65 6e 64 0d 70 75 74 | 1 to th|eend.put|
|000014b0| 20 63 68 61 72 20 74 68 | 65 65 6e 64 20 6f 66 20 | char th|eend of |
|000014c0| 74 61 72 74 65 78 20 69 | 6e 74 6f 20 74 61 72 63 |tartex i|nto tarc|
|000014d0| 68 61 0d 69 66 20 74 61 | 72 63 68 61 20 69 73 20 |ha.if ta|rcha is |
|000014e0| 63 6f 6d 6d 61 20 6f 72 | 20 74 61 72 63 68 61 20 |comma or| tarcha |
|000014f0| 69 73 20 72 65 74 75 72 | 6e 20 74 68 65 6e 20 65 |is retur|n then e|
|00001500| 78 69 74 20 72 65 70 65 | 61 74 0d 70 75 74 20 74 |xit repe|at.put t|
|00001510| 61 72 63 68 61 20 61 66 | 74 65 72 20 74 68 65 74 |archa af|ter thet|
|00001520| 65 78 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 |ext.end |repeat.p|
|00001530| 75 74 20 6c 65 73 6d 6f | 74 73 28 74 68 65 74 65 |ut lesmo|ts(thete|
|00001540| 78 74 29 20 69 6e 74 6f | 20 74 68 65 74 65 78 74 |xt) into| thetext|
|00001550| 0d 69 66 20 66 69 72 73 | 74 20 63 68 61 72 20 6f |.if firs|t char o|
|00001560| 66 20 74 68 65 74 65 78 | 74 20 69 73 20 22 a9 22 |f thetex|t is "."|
|00001570| 20 74 68 65 6e 20 70 75 | 74 20 77 6f 72 64 20 32 | then pu|t word 2|
|00001580| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00001590| 66 20 77 6f 72 64 73 20 | 69 6e 20 74 68 65 74 65 |f words |in thete|
|000015a0| 78 74 20 6f 66 20 74 68 | 65 74 65 78 74 20 69 6e |xt of th|etext in|
|000015b0| 74 6f 20 74 68 65 74 65 | 78 74 0d 65 6c 73 65 20 |to thete|xt.else |
|000015c0| 70 75 74 20 6c 65 73 6d | 6f 74 73 28 74 68 65 74 |put lesm|ots(thet|
|000015d0| 65 78 74 29 20 69 6e 74 | 6f 20 74 68 65 74 65 78 |ext) int|o thetex|
|000015e0| 74 0d 72 65 74 75 72 6e | 20 74 68 65 74 65 78 74 |t.return| thetext|
|000015f0| 0d 65 6e 64 20 64 6f 63 | 6b 69 74 65 6d 0d 6f 6e |.end doc|kitem.on|
|00001600| 20 64 6f 63 6b 6d 61 72 | 6b 0d 69 66 20 74 68 65 | dockmar|k.if the|
|00001610| 20 73 68 69 66 74 4b 65 | 79 20 69 73 20 64 6f 77 | shiftKe|y is dow|
|00001620| 6e 20 74 68 65 6e 20 6c | 69 73 74 63 61 72 64 73 |n then l|istcards|
|00001630| 0d 70 75 74 20 64 6f 63 | 6b 69 74 65 6d 28 29 20 |.put doc|kitem() |
|00001640| 69 6e 74 6f 20 61 64 72 | 65 73 73 65 0d 75 6e 6d |into adr|esse.unm|
|00001650| 61 72 6b 20 61 6c 6c 20 | 63 61 72 64 73 0d 6d 61 |ark all |cards.ma|
|00001660| 72 6b 20 63 61 72 64 73 | 20 62 79 20 66 69 6e 64 |rk cards| by find|
|00001670| 69 6e 67 20 61 64 72 65 | 73 73 65 20 69 6e 20 66 |ing adre|sse in f|
|00001680| 6c 64 20 22 6d 77 74 6f | 6b 65 6e 22 0d 6c 69 73 |ld "mwto|ken".lis|
|00001690| 74 63 61 72 64 73 0d 6f | 70 65 6e 63 61 72 64 0d |tcards.o|pencard.|
|000016a0| 65 6e 64 20 64 6f 63 6b | 6d 61 72 6b 0d 6f 6e 20 |end dock|mark.on |
|000016b0| 63 68 65 63 6b 6c 6f 63 | 61 6c 0d 67 6c 6f 62 61 |checkloc|al.globa|
|000016c0| 6c 20 70 72 6d 70 74 2c | 62 73 6d 73 70 72 65 66 |l prmpt,|bsmspref|
|000016d0| 73 2c 6f 70 72 65 66 73 | 0d 70 75 74 20 74 68 65 |s,oprefs|.put the|
|000016e0| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 67 20 62 74 | hilite |of bg bt|
|000016f0| 6e 20 22 6c 6f 63 61 6c | 22 20 69 6e 74 6f 20 64 |n "local|" into d|
|00001700| 6c 0d 73 65 74 20 74 68 | 65 20 69 74 65 6d 64 65 |l.set th|e itemde|
|00001710| 6c 69 6d 69 74 65 72 20 | 74 6f 20 63 6f 6d 6d 61 |limiter |to comma|
|00001720| 0d 70 75 74 20 6c 69 6e | 65 20 31 36 20 6f 66 20 |.put lin|e 16 of |
|00001730| 70 72 6d 70 74 20 26 20 | 63 6f 6d 6d 61 20 26 20 |prmpt & |comma & |
|00001740| 6c 69 6e 65 20 32 35 20 | 6f 66 20 70 72 6d 70 74 |line 25 |of prmpt|
|00001750| 20 26 20 63 6f 6d 6d 61 | 20 26 20 6c 69 6e 65 20 | & comma| & line |
|00001760| 32 36 20 6f 66 20 70 72 | 6d 70 74 20 69 6e 74 6f |26 of pr|mpt into|
|00001770| 20 6f 6d 65 6e 0d 70 75 | 74 20 6c 69 6e 65 20 36 | omen.pu|t line 6|
|00001780| 33 20 6f 66 20 70 72 6d | 70 74 20 69 6e 74 6f 20 |3 of prm|pt into |
|00001790| 6f 64 6c 0d 69 66 20 6f | 70 72 65 66 73 20 69 73 |odl.if o|prefs is|
|000017a0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 20 | not emp|ty then |
|000017b0| 73 74 6f 70 20 75 73 69 | 6e 67 20 73 74 61 63 6b |stop usi|ng stack|
|000017c0| 20 6f 70 72 65 66 73 0d | 75 6e 64 6f 63 6b 6d 65 | oprefs.|undockme|
|000017d0| 6e 75 73 20 6f 6d 65 6e | 0d 69 66 20 64 6c 20 74 |nus omen|.if dl t|
|000017e0| 68 65 6e 20 6c 6f 61 64 | 6c 6f 63 61 6c 0d 65 6c |hen load|local.el|
|000017f0| 73 65 20 69 66 20 6f 70 | 72 65 66 73 20 69 73 20 |se if op|refs is |
|00001800| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 20 6c |not empt|y then l|
|00001810| 6f 61 64 6e 61 74 69 76 | 65 0d 69 66 20 64 6c 20 |oadnativ|e.if dl |
|00001820| 74 68 65 6e 0d 73 74 61 | 72 74 20 75 73 69 6e 67 |then.sta|rt using|
|00001830| 20 73 74 61 63 6b 20 62 | 73 6d 73 70 72 65 66 73 | stack b|smsprefs|
|00001840| 0d 70 75 74 20 62 73 6d | 73 70 72 65 66 73 20 69 |.put bsm|sprefs i|
|00001850| 6e 74 6f 20 6f 70 72 65 | 66 73 0d 65 6c 73 65 20 |nto opre|fs.else |
|00001860| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 6f |put empt|y into o|
|00001870| 70 72 65 66 73 0d 65 6e | 64 20 63 68 65 63 6b 6c |prefs.en|d checkl|
|00001880| 6f 63 61 6c 0d 0d 6f 6e | 20 6c 6f 61 64 6c 6f 63 |ocal..on| loadloc|
|00001890| 61 6c 0d 67 6c 6f 62 61 | 6c 20 70 72 6d 70 74 2c |al.globa|l prmpt,|
|000018a0| 6c 70 72 6d 70 74 0d 70 | 75 74 20 66 6c 64 20 22 |lprmpt.p|ut fld "|
|000018b0| 6c 6f 63 61 6c 69 7a 61 | 74 69 6f 6e 22 20 69 6e |localiza|tion" in|
|000018c0| 74 6f 20 70 72 6d 70 74 | 0d 70 75 74 20 66 6c 64 |to prmpt|.put fld|
|000018d0| 20 22 6c 6c 6f 63 61 6c | 69 7a 61 74 69 6f 6e 22 | "llocal|ization"|
|000018e0| 20 69 6e 74 6f 20 6c 70 | 72 6d 70 74 0d 65 6e 64 | into lp|rmpt.end|
|000018f0| 20 6c 6f 61 64 6c 6f 63 | 61 6c 0d 0d 6f 6e 20 6c | loadloc|al..on l|
|00001900| 6f 61 64 6e 61 74 69 76 | 65 0d 67 6c 6f 62 61 6c |oadnativ|e.global|
|00001910| 20 70 72 6d 70 74 2c 6c | 70 72 6d 70 74 0d 70 75 | prmpt,l|prmpt.pu|
|00001920| 73 68 20 63 61 72 64 0d | 67 6f 20 73 74 61 63 6b |sh card.|go stack|
|00001930| 20 22 6c 79 73 6c 69 6e | 6b 22 0d 70 75 74 20 66 | "lyslin|k".put f|
|00001940| 6c 64 20 22 6e 61 74 69 | 76 69 7a 61 74 69 6f 6e |ld "nati|vization|
|00001950| 22 20 69 6e 74 6f 20 70 | 72 6d 70 74 0d 70 75 74 |" into p|rmpt.put|
|00001960| 20 66 6c 64 20 22 6c 6e | 61 74 69 76 69 7a 61 74 | fld "ln|ativizat|
|00001970| 69 6f 6e 22 20 69 6e 74 | 6f 20 6c 70 72 6d 70 74 |ion" int|o lprmpt|
|00001980| 0d 70 6f 70 20 63 61 72 | 64 0d 65 6e 64 20 6c 6f |.pop car|d.end lo|
|00001990| 61 64 6e 61 74 69 76 65 | 0d 0d 6f 6e 20 64 6f 63 |adnative|..on doc|
|000019a0| 6b 6d 65 6e 75 73 0d 64 | 6f 70 69 6c 65 73 62 73 |kmenus.d|opilesbs|
|000019b0| 6d 73 0d 64 6f 6c 79 73 | 0d 64 6f 62 73 6d 73 62 |ms.dolys|.dobsmsb|
|000019c0| 73 6d 73 0d 65 6e 64 20 | 64 6f 63 6b 6d 65 6e 75 |sms.end |dockmenu|
|000019d0| 73 0d 0d 6f 6e 20 75 6e | 64 6f 63 6b 6d 65 6e 75 |s..on un|dockmenu|
|000019e0| 73 20 6f 6d 65 6e 0d 69 | 66 20 74 68 65 72 65 20 |s omen.i|f there |
|000019f0| 69 73 20 61 20 6d 65 6e | 75 20 69 74 65 6d 20 31 |is a men|u item 1|
|00001a00| 20 6f 66 20 6f 6d 65 6e | 20 74 68 65 6e 20 64 65 | of omen| then de|
|00001a10| 6c 65 74 65 20 6d 65 6e | 75 20 69 74 65 6d 20 31 |lete men|u item 1|
|00001a20| 20 6f 66 20 6f 6d 65 6e | 0d 69 66 20 74 68 65 72 | of omen|.if ther|
|00001a30| 65 20 69 73 20 61 20 6d | 65 6e 75 20 69 74 65 6d |e is a m|enu item|
|00001a40| 20 32 20 6f 66 20 6f 6d | 65 6e 20 74 68 65 6e 20 | 2 of om|en then |
|00001a50| 64 65 6c 65 74 65 20 6d | 65 6e 75 20 69 74 65 6d |delete m|enu item|
|00001a60| 20 32 20 6f 66 20 6f 6d | 65 6e 0d 69 66 20 74 68 | 2 of om|en.if th|
|00001a70| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 20 69 74 |ere is a| menu it|
|00001a80| 65 6d 20 33 20 6f 66 20 | 6f 6d 65 6e 20 74 68 65 |em 3 of |omen the|
|00001a90| 6e 20 64 65 6c 65 74 65 | 20 6d 65 6e 75 20 69 74 |n delete| menu it|
|00001aa0| 65 6d 20 33 20 6f 66 20 | 6f 6d 65 6e 0d 65 6e 64 |em 3 of |omen.end|
|00001ab0| 20 75 6e 64 6f 63 6b 6d | 65 6e 75 73 0d 0d 66 75 | undockm|enus..fu|
|00001ac0| 6e 63 74 69 6f 6e 20 6e | 6d 63 73 0d 70 75 74 20 |nction n|mcs.put |
|00001ad0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6d 61 |the numb|er of ma|
|00001ae0| 72 6b 65 64 20 63 61 72 | 64 73 20 69 73 20 30 20 |rked car|ds is 0 |
|00001af0| 69 6e 74 6f 20 6e 6d 63 | 0d 69 66 20 6e 6d 63 20 |into nmc|.if nmc |
|00001b00| 74 68 65 6e 20 62 65 65 | 70 0d 72 65 74 75 72 6e |then bee|p.return|
|00001b10| 20 6e 6d 63 0d 65 6e 64 | 20 6e 6d 63 73 0d 6f 6e | nmc.end| nmcs.on|
|00001b20| 20 4c 79 73 4e 65 78 74 | 0d 69 66 20 74 68 65 20 | LysNext|.if the |
|00001b30| 63 6f 6d 6d 61 6e 64 4b | 65 79 20 69 73 20 64 6f |commandK|ey is do|
|00001b40| 77 6e 20 74 68 65 6e 0d | 69 66 20 74 68 65 20 73 |wn then.|if the s|
|00001b50| 68 69 66 74 4b 65 79 20 | 69 73 20 64 6f 77 6e 20 |hiftKey |is down |
|00001b60| 74 68 65 6e 0d 69 66 20 | 6e 6f 74 20 6e 6d 63 73 |then.if |not nmcs|
|00001b70| 28 29 20 74 68 65 6e 0d | 67 6f 20 6c 61 73 74 20 |() then.|go last |
|00001b80| 6d 61 72 6b 65 64 20 63 | 61 72 64 0d 65 6e 64 20 |marked c|ard.end |
|00001b90| 69 66 0d 65 6c 73 65 20 | 67 6f 20 6c 61 73 74 20 |if.else |go last |
|00001ba0| 63 61 72 64 0d 65 6c 73 | 65 0d 69 66 20 74 68 65 |card.els|e.if the|
|00001bb0| 20 73 68 69 66 74 4b 65 | 79 20 69 73 20 64 6f 77 | shiftKe|y is dow|
|00001bc0| 6e 20 74 68 65 6e 0d 69 | 66 20 6e 6f 74 20 6e 6d |n then.i|f not nm|
|00001bd0| 63 73 28 29 20 74 68 65 | 6e 0d 67 6f 20 6e 65 78 |cs() the|n.go nex|
|00001be0| 74 20 6d 61 72 6b 65 64 | 20 63 61 72 64 0d 65 6e |t marked| card.en|
|00001bf0| 64 20 69 66 0d 65 6c 73 | 65 0d 76 69 73 75 61 6c |d if.els|e.visual|
|00001c00| 20 65 66 66 65 63 74 20 | 77 69 70 65 20 6c 65 66 | effect |wipe lef|
|00001c10| 74 0d 67 6f 20 6e 65 78 | 74 0d 65 6e 64 20 69 66 |t.go nex|t.end if|
|00001c20| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 4c 79 73 4e |.end if.|end LysN|
|00001c30| 65 78 74 0d 6f 6e 20 4c | 79 73 50 72 65 76 69 6f |ext.on L|ysPrevio|
|00001c40| 75 73 0d 69 66 20 74 68 | 65 20 63 6f 6d 6d 61 6e |us.if th|e comman|
|00001c50| 64 4b 65 79 20 69 73 20 | 64 6f 77 6e 20 74 68 65 |dKey is |down the|
|00001c60| 6e 0d 69 66 20 74 68 65 | 20 73 68 69 66 74 4b 65 |n.if the| shiftKe|
|00001c70| 79 20 69 73 20 64 6f 77 | 6e 20 74 68 65 6e 0d 69 |y is dow|n then.i|
|00001c80| 66 20 6e 6f 74 20 6e 6d | 63 73 28 29 20 74 68 65 |f not nm|cs() the|
|00001c90| 6e 0d 67 6f 20 66 69 72 | 73 74 20 6d 61 72 6b 65 |n.go fir|st marke|
|00001ca0| 64 20 63 61 72 64 0d 65 | 6e 64 20 69 66 0d 65 6c |d card.e|nd if.el|
|00001cb0| 73 65 20 67 6f 20 66 69 | 72 73 74 20 63 61 72 64 |se go fi|rst card|
|00001cc0| 0d 65 6c 73 65 0d 69 66 | 20 74 68 65 20 73 68 69 |.else.if| the shi|
|00001cd0| 66 74 4b 65 79 20 69 73 | 20 64 6f 77 6e 20 74 68 |ftKey is| down th|
|00001ce0| 65 6e 0d 69 66 20 6e 6f | 74 20 6e 6d 63 73 28 29 |en.if no|t nmcs()|
|00001cf0| 20 74 68 65 6e 0d 67 6f | 20 70 72 65 76 69 6f 75 | then.go| previou|
|00001d00| 73 20 6d 61 72 6b 65 64 | 20 63 61 72 64 0d 65 6e |s marked| card.en|
|00001d10| 64 20 69 66 0d 65 6c 73 | 65 0d 76 69 73 75 61 6c |d if.els|e.visual|
|00001d20| 20 65 66 66 65 63 74 20 | 77 69 70 65 20 72 69 67 | effect |wipe rig|
|00001d30| 68 74 0d 67 6f 20 70 72 | 65 76 69 6f 75 73 0d 65 |ht.go pr|evious.e|
|00001d40| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00001d50| 20 4c 79 73 50 72 65 76 | 69 6f 75 73 0d 6f 6e 20 | LysPrev|ious.on |
|00001d60| 67 6e 6d 20 74 68 65 6e | 75 6d 0d 69 66 20 6e 6d |gnm then|um.if nm|
|00001d70| 63 73 28 29 20 74 68 65 | 6e 20 65 78 69 74 20 67 |cs() the|n exit g|
|00001d80| 6e 6d 0d 69 66 20 74 68 | 65 6e 75 6d 20 69 73 20 |nm.if th|enum is |
|00001d90| 34 39 20 74 68 65 6e 20 | 67 6f 20 66 69 72 73 74 |49 then |go first|
|00001da0| 20 6d 61 72 6b 65 64 20 | 63 61 72 64 0d 65 6c 73 | marked |card.els|
|00001db0| 65 20 69 66 20 74 68 65 | 6e 75 6d 20 69 73 20 35 |e if the|num is 5|
|00001dc0| 30 20 74 68 65 6e 20 67 | 6f 20 70 72 65 76 20 6d |0 then g|o prev m|
|00001dd0| 61 72 6b 65 64 20 63 61 | 72 64 0d 65 6c 73 65 20 |arked ca|rd.else |
|00001de0| 69 66 20 74 68 65 6e 75 | 6d 20 69 73 20 35 31 20 |if thenu|m is 51 |
|00001df0| 74 68 65 6e 20 67 6f 20 | 6e 65 78 74 20 6d 61 72 |then go |next mar|
|00001e00| 6b 65 64 20 63 61 72 64 | 0d 65 6c 73 65 20 67 6f |ked card|.else go|
|00001e10| 20 6c 61 73 74 20 6d 61 | 72 6b 65 64 20 63 61 72 | last ma|rked car|
|00001e20| 64 0d 65 6e 64 20 67 6e | 6d 0d 0d 6f 6e 20 63 6f |d.end gn|m..on co|
|00001e30| 6e 74 72 6f 6c 4b 65 79 | 20 74 68 65 6e 75 6d 0d |ntrolKey| thenum.|
|00001e40| 67 6c 6f 62 61 6c 20 6d | 79 63 61 74 73 0d 69 66 |global m|ycats.if|
|00001e50| 20 74 68 65 6e 75 6d 20 | 69 73 20 31 20 74 68 65 | thenum |is 1 the|
|00001e60| 6e 20 73 77 61 70 69 6e | 74 65 78 74 0d 69 66 20 |n swapin|text.if |
|00001e70| 74 68 65 6e 75 6d 20 69 | 73 20 35 20 74 68 65 6e |thenum i|s 5 then|
|00001e80| 20 4c 59 53 72 65 66 0d | 69 66 20 74 68 65 6e 75 | LYSref.|if thenu|
|00001e90| 6d 20 69 73 20 36 20 74 | 68 65 6e 20 63 6f 6e 66 |m is 6 t|hen conf|
|00001ea0| 6f 75 6e 64 69 74 0d 69 | 66 20 74 68 65 6e 75 6d |oundit.i|f thenum|
|00001eb0| 20 69 73 20 37 20 74 68 | 65 6e 20 63 6f 6e 66 6f | is 7 th|en confo|
|00001ec0| 75 6e 64 69 74 61 67 61 | 69 6e 0d 69 66 20 74 68 |unditaga|in.if th|
|00001ed0| 65 6e 75 6d 20 69 73 20 | 38 20 74 68 65 6e 20 74 |enum is |8 then t|
|00001ee0| 6f 75 74 66 65 72 6d 65 | 72 0d 69 66 20 74 68 65 |outferme|r.if the|
|00001ef0| 6e 75 6d 20 69 73 20 39 | 20 74 68 65 6e 20 73 62 |num is 9| then sb|
|00001f00| 6f 61 74 0d 69 66 20 74 | 68 65 6e 75 6d 20 69 73 |oat.if t|henum is|
|00001f10| 20 32 31 20 74 68 65 6e | 20 75 6e 66 6f 72 69 6d | 21 then| unforim|
|00001f20| 70 0d 69 66 20 74 68 65 | 6e 75 6d 20 69 73 20 32 |p.if the|num is 2|
|00001f30| 35 20 74 68 65 6e 20 62 | 73 6d 73 6e 77 69 6e 20 |5 then b|smsnwin |
|00001f40| 6d 79 63 61 74 73 0d 69 | 66 20 74 68 65 6e 75 6d |mycats.i|f thenum|
|00001f50| 3e 34 38 20 61 6e 64 20 | 74 68 65 6e 75 6d 3c 35 |>48 and |thenum<5|
|00001f60| 33 20 74 68 65 6e 20 67 | 6e 6d 20 74 68 65 6e 75 |3 then g|nm thenu|
|00001f70| 6d 0d 70 61 73 73 20 63 | 6f 6e 74 72 6f 6c 4b 65 |m.pass c|ontrolKe|
|00001f80| 79 0d 65 6e 64 20 63 6f | 6e 74 72 6f 6c 4b 65 79 |y.end co|ntrolKey|
|00001f90| 0d 0d 6f 6e 20 6b 69 6c | 6c 61 67 6c 6f 62 0d 67 |..on kil|laglob.g|
|00001fa0| 6c 6f 62 61 6c 20 6d 79 | 67 6c 6f 62 2c 62 73 6d |lobal my|glob,bsm|
|00001fb0| 73 4c 69 6e 6b 4b 57 2c | 62 73 6d 73 4c 69 6e 6b |sLinkKW,|bsmsLink|
|00001fc0| 48 52 2c 62 73 6d 73 4c | 69 6e 6b 4c 52 2c 70 72 |HR,bsmsL|inkLR,pr|
|00001fd0| 6d 70 74 2c 6c 70 72 6d | 70 74 0d 70 75 74 20 66 |mpt,lprm|pt.put f|
|00001fe0| 69 65 6c 64 20 22 74 68 | 65 43 68 6f 73 65 6e 4c |ield "th|eChosenL|
|00001ff0| 69 6e 6b 22 20 69 6e 74 | 6f 20 74 68 65 4c 69 6e |ink" int|o theLin|
|00002000| 65 0d 69 66 20 74 68 65 | 4c 69 6e 65 20 69 73 20 |e.if the|Line is |
|00002010| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00002020| 6b 69 6c 6c 61 67 6c 6f | 62 0d 70 75 74 20 6c 69 |killaglo|b.put li|
|00002030| 6e 65 20 31 20 6f 66 20 | 6c 70 72 6d 70 74 20 26 |ne 1 of |lprmpt &|
|00002040| 26 20 66 69 72 73 74 20 | 77 6f 72 64 20 6f 66 20 |& first |word of |
|00002050| 66 69 65 6c 64 20 22 74 | 68 65 4b 57 22 20 69 6e |field "t|heKW" in|
|00002060| 74 6f 20 62 6c 61 31 20 | 2d 2d 20 c6 0d 61 6e 73 |to bla1 |-- ..ans|
|00002070| 77 65 72 20 62 6c 61 31 | 20 77 69 74 68 20 6c 69 |wer bla1| with li|
|00002080| 6e 65 20 32 20 6f 66 20 | 70 72 6d 70 74 2c 6c 69 |ne 2 of |prmpt,li|
|00002090| 6e 65 20 31 20 6f 66 20 | 70 72 6d 70 74 0d 69 66 |ne 1 of |prmpt.if|
|000020a0| 20 69 74 20 69 73 20 6c | 69 6e 65 20 32 20 6f 66 | it is l|ine 2 of|
|000020b0| 20 70 72 6d 70 74 20 74 | 68 65 6e 20 65 78 69 74 | prmpt t|hen exit|
|000020c0| 20 6b 69 6c 6c 61 67 6c | 6f 62 0d 70 75 74 20 66 | killagl|ob.put f|
|000020d0| 69 65 6c 64 20 22 74 68 | 65 4b 57 22 20 69 6e 74 |ield "th|eKW" int|
|000020e0| 6f 20 4b 57 0d 64 65 6c | 65 74 65 20 6c 69 6e 65 |o KW.del|ete line|
|000020f0| 20 74 68 65 4c 69 6e 65 | 20 6f 66 20 66 69 65 6c | theLine| of fiel|
|00002100| 64 20 22 62 73 6d 73 4c | 69 6e 6b 4b 57 22 0d 64 |d "bsmsL|inkKW".d|
|00002110| 65 6c 65 74 65 20 6c 69 | 6e 65 20 74 68 65 4c 69 |elete li|ne theLi|
|00002120| 6e 65 20 6f 66 20 66 69 | 65 6c 64 20 22 62 73 6d |ne of fi|eld "bsm|
|00002130| 73 4c 69 6e 6b 48 52 22 | 0d 64 65 6c 65 74 65 20 |sLinkHR"|.delete |
|00002140| 6c 69 6e 65 20 74 68 65 | 4c 69 6e 65 20 6f 66 20 |line the|Line of |
|00002150| 66 69 65 6c 64 20 22 62 | 73 6d 73 4c 69 6e 6b 4c |field "b|smsLinkL|
|00002160| 52 22 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |R".put e|mpty int|
|00002170| 6f 20 66 69 65 6c 64 20 | 22 74 68 65 43 68 6f 73 |o field |"theChos|
|00002180| 65 6e 4c 69 6e 6b 22 0d | 70 75 74 20 65 6d 70 74 |enLink".|put empt|
|00002190| 79 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 74 68 |y into f|ield "th|
|000021a0| 65 4b 57 22 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |eKW".put| empty i|
|000021b0| 6e 74 6f 20 66 69 65 6c | 64 20 22 74 68 65 48 52 |nto fiel|d "theHR|
|000021c0| 22 0d 69 66 20 73 68 6f | 72 74 20 6e 61 6d 65 20 |".if sho|rt name |
|000021d0| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 69 73 |of this |stack is|
|000021e0| 20 6e 6f 74 20 6d 79 67 | 6c 6f 62 20 74 68 65 6e | not myg|lob then|
|000021f0| 20 65 78 69 74 20 6b 69 | 6c 6c 61 67 6c 6f 62 0d | exit ki|llaglob.|
|00002200| 70 75 74 20 73 65 61 72 | 63 68 28 62 73 6d 73 6c |put sear|ch(bsmsl|
|00002210| 69 6e 6b 4b 57 2c 4b 57 | 2c 66 61 6c 73 65 29 20 |inkKW,KW|,false) |
|00002220| 69 6e 74 6f 20 68 65 79 | 0d 69 66 20 68 65 79 20 |into hey|.if hey |
|00002230| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 |is empty| then ex|
|00002240| 69 74 20 6b 69 6c 6c 61 | 67 6c 6f 62 0d 70 75 74 |it killa|glob.put|
|00002250| 20 69 74 65 6d 20 31 20 | 6f 66 20 68 65 79 20 69 | item 1 |of hey i|
|00002260| 6e 74 6f 20 74 65 6d 70 | 31 0d 64 65 6c 65 74 65 |nto temp|1.delete|
|00002270| 20 6c 69 6e 65 20 74 65 | 6d 70 31 20 6f 66 20 62 | line te|mp1 of b|
|00002280| 73 6d 73 4c 69 6e 6b 4b | 57 0d 64 65 6c 65 74 65 |smsLinkK|W.delete|
|00002290| 20 6c 69 6e 65 20 74 65 | 6d 70 31 20 6f 66 20 62 | line te|mp1 of b|
|000022a0| 73 6d 73 4c 69 6e 6b 48 | 52 0d 64 65 6c 65 74 65 |smsLinkH|R.delete|
|000022b0| 20 6c 69 6e 65 20 74 65 | 6d 70 31 20 6f 66 20 62 | line te|mp1 of b|
|000022c0| 73 6d 73 4c 69 6e 6b 4c | 52 0d 65 6e 64 20 6b 69 |smsLinkL|R.end ki|
|000022d0| 6c 6c 61 67 6c 6f 62 0d | 6f 6e 20 66 65 65 64 74 |llaglob.|on feedt|
|000022e0| 68 65 6d 65 6e 75 20 69 | 6e 63 6f 6d 69 6e 67 0d |hemenu i|ncoming.|
|000022f0| 67 6c 6f 62 61 6c 20 62 | 73 6d 73 41 76 61 69 6c |global b|smsAvail|
|00002300| 61 62 6c 65 2c 62 73 6d | 73 70 72 65 66 73 2c 70 |able,bsm|sprefs,p|
|00002310| 72 6d 70 74 2c 6c 70 72 | 6d 70 74 0d 70 75 74 20 |rmpt,lpr|mpt.put |
|00002320| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00002330| 6e 65 73 20 69 6e 20 69 | 6e 63 6f 6d 69 6e 67 20 |nes in i|ncoming |
|00002340| 69 6e 74 6f 20 6c 65 73 | 6c 69 67 6e 65 73 0d 69 |into les|lignes.i|
|00002350| 66 20 6c 65 73 6c 69 67 | 6e 65 73 3e 36 32 20 74 |f leslig|nes>62 t|
|00002360| 68 65 6e 0d 61 6e 73 77 | 65 72 20 6c 69 6e 65 20 |hen.answ|er line |
|00002370| 32 20 6f 66 20 6c 70 72 | 6d 70 74 20 2d 2d 20 c6 |2 of lpr|mpt -- .|
|00002380| 0d 70 75 74 20 69 6e 63 | 6f 6d 69 6e 67 20 69 6e |.put inc|oming in|
|00002390| 74 6f 20 66 69 65 6c 64 | 20 22 62 73 6d 73 41 76 |to field| "bsmsAv|
|000023a0| 61 69 6c 61 62 6c 65 22 | 0d 64 65 6c 65 74 65 20 |ailable"|.delete |
|000023b0| 6c 69 6e 65 20 36 33 20 | 74 6f 20 6c 65 73 6c 69 |line 63 |to lesli|
|000023c0| 67 6e 65 73 20 6f 66 20 | 69 6e 63 6f 6d 69 6e 67 |gnes of |incoming|
|000023d0| 0d 70 75 74 20 36 32 20 | 69 6e 74 6f 20 6c 65 73 |.put 62 |into les|
|000023e0| 6c 69 67 6e 65 73 0d 65 | 6e 64 20 69 66 0d 69 66 |lignes.e|nd if.if|
|000023f0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00002400| 68 69 73 20 73 74 61 63 | 6b 20 69 73 20 62 73 6d |his stac|k is bsm|
|00002410| 73 70 72 65 66 73 20 74 | 68 65 6e 0d 70 75 74 20 |sprefs t|hen.put |
|00002420| 69 6e 63 6f 6d 69 6e 67 | 20 69 6e 74 6f 20 62 73 |incoming| into bs|
|00002430| 6d 73 41 76 61 69 6c 61 | 62 6c 65 0d 64 6f 6c 79 |msAvaila|ble.doly|
|00002440| 73 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 66 65 65 |s.end if|.end fee|
|00002450| 64 74 68 65 6d 65 6e 75 | 0d 66 75 6e 63 74 69 6f |dthemenu|.functio|
|00002460| 6e 20 66 65 65 64 74 68 | 65 63 6f 6e 74 65 78 74 |n feedth|econtext|
|00002470| 20 74 68 65 46 69 65 6c | 64 2c 74 6c 0d 67 6c 6f | theFiel|d,tl.glo|
|00002480| 62 61 6c 20 6d 6f 64 61 | 6c 52 65 73 75 6c 74 2c |bal moda|lResult,|
|00002490| 62 73 6d 73 41 76 61 69 | 6c 61 62 6c 65 2c 62 73 |bsmsAvai|lable,bs|
|000024a0| 6d 73 70 72 65 66 73 2c | 63 61 74 61 72 62 4a 2c |msprefs,|catarbJ,|
|000024b0| 63 61 74 61 72 62 4b 2c | 63 61 74 61 72 62 54 2c |catarbK,|catarbT,|
|000024c0| 74 68 65 63 72 69 74 73 | 74 61 63 6b 73 0d 70 75 |thecrits|tacks.pu|
|000024d0| 74 20 77 68 61 74 4c 69 | 73 74 28 29 20 69 6e 74 |t whatLi|st() int|
|000024e0| 6f 20 74 72 0d 69 66 20 | 74 72 20 69 73 20 32 20 |o tr.if |tr is 2 |
|000024f0| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 65 6d 70 74 |then ret|urn empt|
|00002500| 79 0d 69 66 20 6c 69 6e | 65 20 37 20 6f 66 20 6d |y.if lin|e 7 of m|
|00002510| 6f 64 61 6c 72 65 73 75 | 6c 74 20 69 73 20 31 20 |odalresu|lt is 1 |
|00002520| 74 68 65 6e 20 70 75 74 | 20 65 6d 70 74 79 20 69 |then put| empty i|
|00002530| 6e 74 6f 20 69 6e 63 6f | 6d 69 6e 67 0d 65 6c 73 |nto inco|ming.els|
|00002540| 65 20 70 75 74 20 66 69 | 65 6c 64 20 74 68 65 46 |e put fi|eld theF|
|00002550| 69 65 6c 64 20 69 6e 74 | 6f 20 69 6e 63 6f 6d 69 |ield int|o incomi|
|00002560| 6e 67 0d 69 66 20 69 6e | 63 6f 6d 69 6e 67 20 69 |ng.if in|coming i|
|00002570| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 61 6e 64 20 |s not em|pty and |
|00002580| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 69 6e 63 |last cha|r of inc|
|00002590| 6f 6d 69 6e 67 20 69 73 | 20 6e 6f 74 20 72 65 74 |oming is| not ret|
|000025a0| 75 72 6e 20 74 68 65 6e | 20 70 75 74 20 72 65 74 |urn then| put ret|
|000025b0| 75 72 6e 20 61 66 74 65 | 72 20 69 6e 63 6f 6d 69 |urn afte|r incomi|
|000025c0| 6e 67 0d 70 75 74 20 22 | 62 73 6d 73 41 76 61 69 |ng.put "|bsmsAvai|
|000025d0| 6c 61 62 6c 65 2c 63 61 | 74 61 72 62 54 2c 63 61 |lable,ca|tarbT,ca|
|000025e0| 74 61 72 62 4a 2c 74 68 | 65 63 72 69 74 73 74 61 |tarbJ,th|ecritsta|
|000025f0| 63 6b 73 22 20 69 6e 74 | 6f 20 74 61 0d 73 65 74 |cks" int|o ta.set|
|00002600| 20 74 68 65 20 69 74 65 | 6d 64 65 6c 69 6d 69 74 | the ite|mdelimit|
|00002610| 65 72 20 74 6f 20 63 6f | 6d 6d 61 0d 72 65 70 65 |er to co|mma.repe|
|00002620| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00002630| 20 34 0d 69 66 20 6c 69 | 6e 65 20 28 69 2b 32 29 | 4.if li|ne (i+2)|
|00002640| 20 6f 66 20 6d 6f 64 61 | 6c 72 65 73 75 6c 74 20 | of moda|lresult |
|00002650| 69 73 20 31 20 74 68 65 | 6e 0d 70 75 74 20 76 61 |is 1 the|n.put va|
|00002660| 6c 75 65 28 69 74 65 6d | 20 69 20 6f 66 20 74 61 |lue(item| i of ta|
|00002670| 29 20 69 6e 74 6f 20 74 | 76 0d 69 66 20 74 76 20 |) into t|v.if tv |
|00002680| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 72 65 |is empty| then re|
|00002690| 74 75 72 6e 20 65 6d 70 | 74 79 0d 70 75 74 20 74 |turn emp|ty.put t|
|000026a0| 76 20 61 66 74 65 72 20 | 69 6e 63 6f 6d 69 6e 67 |v after |incoming|
|000026b0| 0d 70 75 74 20 69 6e 63 | 6f 6d 69 6e 67 20 69 6e |.put inc|oming in|
|000026c0| 74 6f 20 66 69 65 6c 64 | 20 74 68 65 46 69 65 6c |to field| theFiel|
|000026d0| 64 0d 72 65 74 75 72 6e | 20 69 6e 63 6f 6d 69 6e |d.return| incomin|
|000026e0| 67 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |g.end if|.end rep|
|000026f0| 65 61 74 0d 65 6e 64 20 | 66 65 65 64 74 68 65 63 |eat.end |feedthec|
|00002700| 6f 6e 74 65 78 74 0d 66 | 75 6e 63 74 69 6f 6e 20 |ontext.f|unction |
|00002710| 74 61 72 67 54 6f 4e 61 | 6d 65 0d 70 75 74 20 6c |targToNa|me.put l|
|00002720| 61 73 74 20 77 6f 72 64 | 20 6f 66 20 74 68 65 20 |ast word| of the |
|00002730| 74 61 72 67 65 74 20 69 | 6e 74 6f 20 74 68 65 54 |target i|nto theT|
|00002740| 61 72 67 0d 72 65 74 75 | 72 6e 20 76 61 6c 75 65 |arg.retu|rn value|
|00002750| 28 74 68 65 54 61 72 67 | 29 0d 65 6e 64 20 74 61 |(theTarg|).end ta|
|00002760| 72 67 54 6f 4e 61 6d 65 | 0d 6f 6e 20 73 65 65 6d |rgToName|.on seem|
|00002770| 65 6e 75 70 64 61 74 65 | 0d 67 6c 6f 62 61 6c 20 |enupdate|.global |
|00002780| 62 73 6d 73 41 76 61 69 | 6c 61 62 6c 65 2c 62 73 |bsmsAvai|lable,bs|
|00002790| 6d 73 70 72 65 66 73 0d | 70 75 74 20 74 61 72 67 |msprefs.|put targ|
|000027a0| 54 6f 4e 61 6d 65 28 29 | 20 69 6e 74 6f 20 74 68 |ToName()| into th|
|000027b0| 65 54 61 72 67 0d 63 6c | 65 61 6e 20 28 74 68 65 |eTarg.cl|ean (the|
|000027c0| 54 61 72 67 29 0d 73 65 | 74 20 74 68 65 20 69 74 |Targ).se|t the it|
|000027d0| 65 6d 44 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 74 |emDelimi|ter to t|
|000027e0| 61 62 0d 70 75 74 20 66 | 69 65 6c 64 20 74 68 65 |ab.put f|ield the|
|000027f0| 54 61 72 67 20 69 6e 74 | 6f 20 69 6e 63 6f 6d 69 |Targ int|o incomi|
|00002800| 6e 67 0d 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 |ng.put t|he numbe|
|00002810| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 69 6e |r of lin|es in in|
|00002820| 63 6f 6d 69 6e 67 20 69 | 6e 74 6f 20 6c 65 73 6c |coming i|nto lesl|
|00002830| 69 67 6e 65 73 0d 69 66 | 20 6c 65 73 6c 69 67 6e |ignes.if| leslign|
|00002840| 65 73 20 69 73 20 6e 6f | 74 20 30 20 74 68 65 6e |es is no|t 0 then|
|00002850| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00002860| 20 31 20 74 6f 20 6c 65 | 73 6c 69 67 6e 65 73 0d | 1 to le|slignes.|
|00002870| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00002880| 73 79 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |sy.put i|tem 1 of|
|00002890| 20 6c 69 6e 65 20 69 20 | 6f 66 20 69 6e 63 6f 6d | line i |of incom|
|000028a0| 69 6e 67 20 69 6e 74 6f | 20 6c 69 6e 65 20 69 20 |ing into| line i |
|000028b0| 6f 66 20 69 6e 63 6f 6d | 69 6e 67 0d 65 6e 64 20 |of incom|ing.end |
|000028c0| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 70 75 |repeat.e|nd if.pu|
|000028d0| 74 20 69 6e 63 6f 6d 69 | 6e 67 20 69 6e 74 6f 20 |t incomi|ng into |
|000028e0| 66 69 65 6c 64 20 74 68 | 65 54 61 72 67 0d 66 65 |field th|eTarg.fe|
|000028f0| 65 64 74 68 65 6d 65 6e | 75 20 69 6e 63 6f 6d 69 |edthemen|u incomi|
|00002900| 6e 67 0d 65 6e 64 20 73 | 65 65 6d 65 6e 75 70 64 |ng.end s|eemenupd|
|00002910| 61 74 65 0d 6f 6e 20 61 | 6a 6f 75 74 63 61 74 20 |ate.on a|joutcat |
|00002920| 6c 65 63 68 61 6d 70 0d | 67 6c 6f 62 61 6c 20 6d |lechamp.|global m|
|00002930| 6f 64 66 6c 61 67 2c 70 | 72 6d 70 74 2c 6c 70 72 |odflag,p|rmpt,lpr|
|00002940| 6d 70 74 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |mpt.put |empty in|
|00002950| 74 6f 20 6d 6f 64 66 6c | 61 67 0d 72 65 70 65 61 |to modfl|ag.repea|
|00002960| 74 20 66 6f 72 65 76 65 | 72 0d 61 6e 73 77 65 72 |t foreve|r.answer|
|00002970| 20 66 69 6c 65 20 6c 69 | 6e 65 20 33 20 6f 66 20 | file li|ne 3 of |
|00002980| 6c 70 72 6d 70 74 20 6f | 66 20 74 79 70 65 20 22 |lprmpt o|f type "|
|00002990| 53 74 61 63 6b 22 20 2d | 2d 20 c6 0d 69 66 20 28 |Stack" -|- ..if (|
|000029a0| 69 74 20 69 73 20 65 6d | 70 74 79 29 20 6f 72 20 |it is em|pty) or |
|000029b0| 28 74 68 65 20 72 65 73 | 75 6c 74 20 3d 20 22 43 |(the res|ult = "C|
|000029c0| 61 6e 63 65 6c 22 29 20 | 74 68 65 6e 20 65 78 69 |ancel") |then exi|
|000029d0| 74 20 72 65 70 65 61 74 | 0d 70 75 74 20 69 74 20 |t repeat|.put it |
|000029e0| 69 6e 74 6f 20 6c 6f 6e | 67 46 69 6c 65 4e 61 6d |into lon|gFileNam|
|000029f0| 65 0d 70 75 74 20 6c 61 | 73 74 48 43 49 74 65 6d |e.put la|stHCItem|
|00002a00| 28 22 3a 22 2c 6c 6f 6e | 67 46 69 6c 65 4e 61 6d |(":",lon|gFileNam|
|00002a10| 65 29 20 69 6e 74 6f 20 | 73 68 6f 72 74 46 69 6c |e) into |shortFil|
|00002a20| 65 4e 61 6d 65 0d 70 75 | 74 20 67 65 74 4c 59 53 |eName.pu|t getLYS|
|00002a30| 50 61 74 68 4e 61 6d 65 | 28 6c 6f 6e 67 46 69 6c |PathName|(longFil|
|00002a40| 65 4e 61 6d 65 29 20 69 | 6e 74 6f 20 74 68 65 50 |eName) i|nto theP|
|00002a50| 61 74 68 0d 75 70 64 61 | 74 65 4c 59 53 50 61 74 |ath.upda|teLYSPat|
|00002a60| 68 73 20 74 68 65 50 61 | 74 68 0d 69 66 20 28 28 |hs thePa|th.if ((|
|00002a70| 72 65 74 75 72 6e 20 26 | 20 73 68 6f 72 74 46 69 |return &| shortFi|
|00002a80| 6c 65 4e 61 6d 65 20 26 | 20 72 65 74 75 72 6e 29 |leName &| return)|
|00002a90| 20 69 73 20 6e 6f 74 20 | 69 6e 20 66 69 65 6c 64 | is not |in field|
|00002aa0| 20 6c 65 63 68 61 6d 70 | 29 20 61 6e 64 20 28 6c | lechamp|) and (l|
|00002ab0| 69 6e 65 20 31 20 6f 66 | 20 66 69 65 6c 64 20 6c |ine 1 of| field l|
|00002ac0| 65 63 68 61 6d 70 20 69 | 73 20 6e 6f 74 20 73 68 |echamp i|s not sh|
|00002ad0| 6f 72 74 46 69 6c 65 4e | 61 6d 65 29 20 74 68 65 |ortFileN|ame) the|
|00002ae0| 6e 0d 69 66 20 66 69 65 | 6c 64 20 6c 65 63 68 61 |n.if fie|ld lecha|
|00002af0| 6d 70 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |mp is no|t empty |
|00002b00| 61 6e 64 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |and last| char of|
|00002b10| 20 66 69 65 6c 64 20 6c | 65 63 68 61 6d 70 20 69 | field l|echamp i|
|00002b20| 73 20 6e 6f 74 20 72 65 | 74 75 72 6e 20 74 68 65 |s not re|turn the|
|00002b30| 6e 20 70 75 74 20 72 65 | 74 75 72 6e 20 61 66 74 |n put re|turn aft|
|00002b40| 65 72 20 66 69 65 6c 64 | 20 6c 65 63 68 61 6d 70 |er field| lechamp|
|00002b50| 0d 70 75 74 20 73 68 6f | 72 74 46 69 6c 65 4e 61 |.put sho|rtFileNa|
|00002b60| 6d 65 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |me & ret|urn afte|
|00002b70| 72 20 66 69 65 6c 64 20 | 6c 65 63 68 61 6d 70 0d |r field |lechamp.|
|00002b80| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 6d 6f |put true| into mo|
|00002b90| 64 66 6c 61 67 0d 65 6e | 64 20 69 66 0d 65 6e 64 |dflag.en|d if.end|
|00002ba0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 61 6a 6f 75 | repeat.|end ajou|
|00002bb0| 74 63 61 74 0d 6f 6e 20 | 63 6c 65 61 6e 20 78 0d |tcat.on |clean x.|
|00002bc0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00002bd0| 74 63 68 0d 70 75 74 20 | 66 69 65 6c 64 20 78 20 |tch.put |field x |
|00002be0| 69 6e 74 6f 20 7a 0d 69 | 66 20 7a 20 69 73 20 65 |into z.i|f z is e|
|00002bf0| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 63 |mpty the|n exit c|
|00002c00| 6c 65 61 6e 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |lean.put| the num|
|00002c10| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00002c20| 7a 20 69 6e 74 6f 20 79 | 0d 72 65 70 65 61 74 20 |z into y|.repeat |
|00002c30| 77 69 74 68 20 69 20 3d | 20 79 20 64 6f 77 6e 20 |with i =| y down |
|00002c40| 74 6f 20 31 0d 69 66 20 | 6c 69 6e 65 20 69 20 6f |to 1.if |line i o|
|00002c50| 66 20 7a 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |f z is e|mpty the|
|00002c60| 6e 0d 64 65 6c 65 74 65 | 20 6c 69 6e 65 20 69 20 |n.delete| line i |
|00002c70| 6f 66 20 7a 0d 65 6c 73 | 65 0d 72 65 70 65 61 74 |of z.els|e.repeat|
|00002c80| 20 77 68 69 6c 65 20 6c | 61 73 74 20 63 68 61 72 | while l|ast char|
|00002c90| 20 6f 66 20 6c 69 6e 65 | 20 69 20 6f 66 20 7a 20 | of line| i of z |
|00002ca0| 69 73 20 73 70 61 63 65 | 0d 64 65 6c 65 74 65 20 |is space|.delete |
|00002cb0| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 6c 69 6e |last cha|r of lin|
|00002cc0| 65 20 69 20 6f 66 20 7a | 0d 65 6e 64 20 72 65 70 |e i of z|.end rep|
|00002cd0| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |eat.end |if.end r|
|00002ce0| 65 70 65 61 74 0d 69 66 | 20 7a 20 69 73 20 6e 6f |epeat.if| z is no|
|00002cf0| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 72 65 70 |t empty |then.rep|
|00002d00| 65 61 74 20 75 6e 74 69 | 6c 20 6c 61 73 74 20 63 |eat unti|l last c|
|00002d10| 68 61 72 20 6f 66 20 7a | 20 69 73 20 6e 6f 74 20 |har of z| is not |
|00002d20| 72 65 74 75 72 6e 0d 64 | 65 6c 65 74 65 20 6c 61 |return.d|elete la|
|00002d30| 73 74 20 63 68 61 72 61 | 63 74 65 72 20 6f 66 20 |st chara|cter of |
|00002d40| 7a 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 70 75 74 |z.end re|peat.put|
|00002d50| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 7a 0d | return |after z.|
|00002d60| 65 6e 64 20 69 66 0d 70 | 75 74 20 7a 20 69 6e 74 |end if.p|ut z int|
|00002d70| 6f 20 66 69 65 6c 64 20 | 78 0d 65 6e 64 20 63 6c |o field |x.end cl|
|00002d80| 65 61 6e 0d 6f 6e 20 65 | 78 70 6f 72 74 4c 0d 67 |ean.on e|xportL.g|
|00002d90| 6c 6f 62 61 6c 20 75 73 | 65 72 6e 61 6d 65 2c 70 |lobal us|ername,p|
|00002da0| 72 6d 70 74 2c 6c 70 72 | 6d 70 74 0d 70 75 74 20 |rmpt,lpr|mpt.put |
|00002db0| 74 72 75 6e 63 61 74 65 | 4e 61 6d 65 28 73 68 6f |truncate|Name(sho|
|00002dc0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00002dd0| 73 74 61 63 6b 29 20 26 | 20 22 2e 54 58 54 22 20 |stack) &| ".TXT" |
|00002de0| 69 6e 74 6f 20 73 6e 66 | 66 0d 61 73 6b 20 66 69 |into snf|f.ask fi|
|00002df0| 6c 65 20 6c 69 6e 65 20 | 34 20 6f 66 20 6c 70 72 |le line |4 of lpr|
|00002e00| 6d 70 74 20 77 69 74 68 | 20 73 6e 66 66 20 2d 2d |mpt with| snff --|
|00002e10| 20 c6 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 | ..if it| is empt|
|00002e20| 79 20 74 68 65 6e 20 65 | 78 69 74 20 65 78 70 6f |y then e|xit expo|
|00002e30| 72 74 4c 0d 65 6c 73 65 | 20 70 75 74 20 69 74 20 |rtL.else| put it |
|00002e40| 69 6e 74 6f 20 62 73 6d | 73 65 78 66 69 6c 65 0d |into bsm|sexfile.|
|00002e50| 6c 6f 63 6b 74 69 74 65 | 0d 6f 70 65 6e 20 66 69 |locktite|.open fi|
|00002e60| 6c 65 20 62 73 6d 73 65 | 78 66 69 6c 65 0d 72 65 |le bsmse|xfile.re|
|00002e70| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 32 20 |peat wit|h i = 2 |
|00002e80| 74 6f 20 32 38 0d 70 75 | 74 20 66 69 65 6c 64 20 |to 28.pu|t field |
|00002e90| 22 62 73 6d 73 6c 69 6e | 6b 48 52 22 20 6f 66 20 |"bsmslin|kHR" of |
|00002ea0| 63 61 72 64 20 69 20 69 | 6e 74 6f 20 61 6c 70 68 |card i i|nto alph|
|00002eb0| 61 73 0d 69 66 20 61 6c | 70 68 61 73 20 69 73 20 |as.if al|phas is |
|00002ec0| 65 6d 70 74 79 20 74 68 | 65 6e 20 6e 65 78 74 20 |empty th|en next |
|00002ed0| 72 65 70 65 61 74 0d 77 | 72 69 74 65 20 61 6c 70 |repeat.w|rite alp|
|00002ee0| 68 61 73 20 74 6f 20 66 | 69 6c 65 20 62 73 6d 73 |has to f|ile bsms|
|00002ef0| 65 78 66 69 6c 65 0d 65 | 6e 64 20 72 65 70 65 61 |exfile.e|nd repea|
|00002f00| 74 0d 63 6c 6f 73 65 20 | 66 69 6c 65 20 62 73 6d |t.close |file bsm|
|00002f10| 73 65 78 66 69 6c 65 0d | 65 6e 64 20 65 78 70 6f |sexfile.|end expo|
|00002f20| 72 74 4c 0d 0d 6f 6e 20 | 6c 65 78 70 6f 72 0d 67 |rtL..on |lexpor.g|
|00002f30| 6c 6f 62 61 6c 20 75 73 | 65 72 6e 61 6d 65 2c 70 |lobal us|ername,p|
|00002f40| 72 6d 70 74 2c 6c 70 72 | 6d 70 74 0d 61 6e 73 77 |rmpt,lpr|mpt.answ|
|00002f50| 65 72 20 6c 69 6e 65 20 | 38 20 6f 66 20 6c 70 72 |er line |8 of lpr|
|00002f60| 6d 70 74 20 77 69 74 68 | 20 6c 69 6e 65 20 31 30 |mpt with| line 10|
|00002f70| 20 6f 66 20 70 72 6d 70 | 74 2c 6c 69 6e 65 20 31 | of prmp|t,line 1|
|00002f80| 31 20 6f 66 20 70 72 6d | 70 74 2c 6c 69 6e 65 20 |1 of prm|pt,line |
|00002f90| 31 32 20 6f 66 20 70 72 | 6d 70 74 20 2d 2d 20 c6 |12 of pr|mpt -- .|
|00002fa0| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 6c 61 66 |.put it |into laf|
|00002fb0| 6f 72 6d 0d 69 66 20 6c | 61 66 6f 72 6d 20 69 73 |orm.if l|aform is|
|00002fc0| 20 6c 69 6e 65 20 31 30 | 20 6f 66 20 70 72 6d 70 | line 10| of prmp|
|00002fd0| 74 20 74 68 65 6e 20 70 | 75 74 20 74 61 62 20 69 |t then p|ut tab i|
|00002fe0| 6e 74 6f 20 6c 61 66 6f | 72 6d 0d 69 66 20 6c 61 |nto lafo|rm.if la|
|00002ff0| 66 6f 72 6d 20 69 73 20 | 6c 69 6e 65 20 31 31 20 |form is |line 11 |
|00003000| 6f 66 20 70 72 6d 70 74 | 20 74 68 65 6e 20 70 75 |of prmpt| then pu|
|00003010| 74 20 63 6f 6c 6f 6e 20 | 69 6e 74 6f 20 6c 61 66 |t colon |into laf|
|00003020| 6f 72 6d 0d 69 66 20 6c | 61 66 6f 72 6d 20 69 73 |orm.if l|aform is|
|00003030| 20 6c 69 6e 65 20 31 32 | 20 6f 66 20 70 72 6d 70 | line 12| of prmp|
|00003040| 74 20 74 68 65 6e 20 70 | 75 74 20 63 6f 6c 6f 6e |t then p|ut colon|
|00003050| 20 26 20 74 61 62 20 69 | 6e 74 6f 20 6c 61 66 6f | & tab i|nto lafo|
|00003060| 72 6d 0d 70 75 74 20 74 | 72 75 6e 63 61 74 65 4e |rm.put t|runcateN|
|00003070| 61 6d 65 28 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |ame(shor|t name o|
|00003080| 66 20 74 68 69 73 20 73 | 74 61 63 6b 29 20 26 20 |f this s|tack) & |
|00003090| 22 2e 54 58 54 22 20 69 | 6e 74 6f 20 73 6e 66 66 |".TXT" i|nto snff|
|000030a0| 0d 61 73 6b 20 66 69 6c | 65 20 6c 69 6e 65 20 39 |.ask fil|e line 9|
|000030b0| 20 6f 66 20 6c 70 72 6d | 70 74 20 77 69 74 68 20 | of lprm|pt with |
|000030c0| 73 6e 66 66 20 2d 2d 20 | c6 0d 69 66 20 69 74 20 |snff -- |..if it |
|000030d0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 |is empty| then ex|
|000030e0| 69 74 20 6c 65 78 70 6f | 72 0d 65 6c 73 65 20 70 |it lexpo|r.else p|
|000030f0| 75 74 20 69 74 20 69 6e | 74 6f 20 62 73 6d 73 65 |ut it in|to bsmse|
|00003100| 78 66 69 6c 65 0d 6c 6f | 63 6b 74 69 74 65 0d 6f |xfile.lo|cktite.o|
|00003110| 70 65 6e 20 66 69 6c 65 | 20 62 73 6d 73 65 78 66 |pen file| bsmsexf|
|00003120| 69 6c 65 0d 70 75 74 20 | 6c 69 6e 65 20 35 20 6f |ile.put |line 5 o|
|00003130| 66 20 6c 70 72 6d 70 74 | 20 26 26 20 75 73 65 72 |f lprmpt| && user|
|00003140| 6e 61 6d 65 20 26 26 20 | 74 68 65 20 64 61 74 65 |name && |the date|
|00003150| 20 26 26 20 74 68 65 20 | 74 69 6d 65 20 26 20 72 | && the |time & r|
|00003160| 65 74 75 72 6e 20 69 6e | 74 6f 20 65 78 74 65 78 |eturn in|to extex|
|00003170| 20 2d 2d 20 c6 0d 70 75 | 74 20 6c 69 6e 65 20 31 | -- ..pu|t line 1|
|00003180| 30 20 6f 66 20 6c 70 72 | 6d 70 74 20 26 26 20 6c |0 of lpr|mpt && l|
|00003190| 6f 6e 67 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ong name| of this|
|000031a0| 20 73 74 61 63 6b 20 26 | 20 72 65 74 75 72 6e 20 | stack &| return |
|000031b0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 65 |& return| after e|
|000031c0| 78 74 65 78 20 2d 2d 20 | c6 0d 70 75 74 20 6c 69 |xtex -- |..put li|
|000031d0| 6e 65 20 31 31 20 6f 66 | 20 6c 70 72 6d 70 74 20 |ne 11 of| lprmpt |
|000031e0| 26 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |& return| & retur|
|000031f0| 6e 20 61 66 74 65 72 20 | 65 78 74 65 78 20 2d 2d |n after |extex --|
|00003200| 20 c6 0d 70 75 74 20 28 | 63 61 72 64 20 66 69 65 | ..put (|card fie|
|00003210| 6c 64 20 22 61 6c 70 68 | 61 63 61 74 73 22 29 20 |ld "alph|acats") |
|00003220| 26 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |& return| & retur|
|00003230| 6e 20 61 66 74 65 72 20 | 65 78 74 65 78 0d 70 75 |n after |extex.pu|
|00003240| 74 20 6c 69 6e 65 20 31 | 32 20 6f 66 20 6c 70 72 |t line 1|2 of lpr|
|00003250| 6d 70 74 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |mpt & re|turn & r|
|00003260| 65 74 75 72 6e 20 61 66 | 74 65 72 20 65 78 74 65 |eturn af|ter exte|
|00003270| 78 20 2d 2d 20 c6 0d 70 | 75 74 20 28 63 61 72 64 |x -- ..p|ut (card|
|00003280| 20 66 69 65 6c 64 20 22 | 61 6c 70 68 61 64 6f 63 | field "|alphadoc|
|00003290| 73 22 29 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |s") & re|turn & r|
|000032a0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 65 78 74 65 |eturn af|ter exte|
|000032b0| 78 0d 70 75 74 20 6c 69 | 6e 65 20 31 33 20 6f 66 |x.put li|ne 13 of|
|000032c0| 20 6c 70 72 6d 70 74 20 | 26 20 72 65 74 75 72 6e | lprmpt |& return|
|000032d0| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|000032e0| 65 78 74 65 78 20 2d 2d | 20 c6 0d 70 75 74 20 6c |extex --| ..put l|
|000032f0| 69 6e 65 20 39 20 6f 66 | 20 70 72 6d 70 74 20 26 |ine 9 of| prmpt &|
|00003300| 20 74 61 62 20 26 20 6c | 69 6e 65 20 38 20 6f 66 | tab & l|ine 8 of|
|00003310| 20 70 72 6d 70 74 20 26 | 20 72 65 74 75 72 6e 20 | prmpt &| return |
|00003320| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 65 |& return| after e|
|00003330| 78 74 65 78 20 2d 2d 20 | c6 0d 77 72 69 74 65 20 |xtex -- |..write |
|00003340| 65 78 74 65 78 20 74 6f | 20 66 69 6c 65 20 62 73 |extex to| file bs|
|00003350| 6d 73 65 78 66 69 6c 65 | 0d 70 75 74 20 65 6d 70 |msexfile|.put emp|
|00003360| 74 79 20 69 6e 74 6f 20 | 65 78 74 65 78 0d 72 65 |ty into |extex.re|
|00003370| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 32 20 |peat wit|h i = 2 |
|00003380| 74 6f 20 32 38 0d 70 75 | 74 20 66 69 65 6c 64 20 |to 28.pu|t field |
|00003390| 22 61 6c 70 68 61 73 22 | 20 6f 66 20 63 61 72 64 |"alphas"| of card|
|000033a0| 20 69 20 69 6e 74 6f 20 | 61 6c 70 68 61 73 0d 69 | i into |alphas.i|
|000033b0| 66 20 61 6c 70 68 61 73 | 20 69 73 20 65 6d 70 74 |f alphas| is empt|
|000033c0| 79 20 74 68 65 6e 20 6e | 65 78 74 20 72 65 70 65 |y then n|ext repe|
|000033d0| 61 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6a |at.repea|t with j|
|000033e0| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|000033f0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 61 |er of li|nes in a|
|00003400| 6c 70 68 61 73 0d 70 75 | 74 20 6c 65 64 65 74 61 |lphas.pu|t ledeta|
|00003410| 69 6c 28 6c 69 6e 65 20 | 6a 20 6f 66 20 61 6c 70 |il(line |j of alp|
|00003420| 68 61 73 2c 6c 61 66 6f | 72 6d 29 20 61 66 74 65 |has,lafo|rm) afte|
|00003430| 72 20 65 78 74 65 78 0d | 65 6e 64 20 72 65 70 65 |r extex.|end repe|
|00003440| 61 74 0d 70 75 74 20 72 | 65 74 75 72 6e 20 61 66 |at.put r|eturn af|
|00003450| 74 65 72 20 65 78 74 65 | 78 0d 77 72 69 74 65 20 |ter exte|x.write |
|00003460| 65 78 74 65 78 20 74 6f | 20 66 69 6c 65 20 62 73 |extex to| file bs|
|00003470| 6d 73 65 78 66 69 6c 65 | 0d 70 75 74 20 65 6d 70 |msexfile|.put emp|
|00003480| 74 79 20 69 6e 74 6f 20 | 65 78 74 65 78 0d 65 6e |ty into |extex.en|
|00003490| 64 20 72 65 70 65 61 74 | 0d 63 6c 6f 73 65 20 66 |d repeat|.close f|
|000034a0| 69 6c 65 20 62 73 6d 73 | 65 78 66 69 6c 65 0d 67 |ile bsms|exfile.g|
|000034b0| 6f 20 63 61 72 64 20 22 | 6f 76 65 72 76 69 65 77 |o card "|overview|
|000034c0| 22 0d 65 6e 64 20 6c 65 | 78 70 6f 72 0d 0d 66 75 |".end le|xpor..fu|
|000034d0| 6e 63 74 69 6f 6e 20 6c | 65 64 65 74 61 69 6c 20 |nction l|edetail |
|000034e0| 74 68 65 6c 69 6e 65 2c | 6c 61 66 6f 72 6d 0d 70 |theline,|laform.p|
|000034f0| 75 74 20 73 65 63 6f 6e | 64 20 77 6f 72 64 20 6f |ut secon|d word o|
|00003500| 66 20 74 68 65 6c 69 6e | 65 20 69 6e 74 6f 20 74 |f thelin|e into t|
|00003510| 68 65 31 0d 70 75 74 20 | 66 69 72 73 74 20 77 6f |he1.put |first wo|
|00003520| 72 64 20 6f 66 20 74 68 | 65 6c 69 6e 65 20 69 6e |rd of th|eline in|
|00003530| 74 6f 20 74 68 65 32 0d | 70 75 74 20 76 61 6c 75 |to the2.|put valu|
|00003540| 65 28 74 68 65 31 29 20 | 26 20 6c 61 66 6f 72 6d |e(the1) |& laform|
|00003550| 20 26 20 76 61 6c 75 65 | 28 74 68 65 32 29 20 26 | & value|(the2) &|
|00003560| 20 72 65 74 75 72 6e 20 | 69 6e 74 6f 20 64 69 67 | return |into dig|
|00003570| 74 68 69 73 0d 72 65 74 | 75 72 6e 20 64 69 67 74 |this.ret|urn digt|
|00003580| 68 69 73 0d 65 6e 64 20 | 6c 65 64 65 74 61 69 6c |his.end |ledetail|
|00003590| 0d 66 75 6e 63 74 69 6f | 6e 20 73 74 72 69 70 33 |.functio|n strip3|
|000035a0| 32 20 74 68 65 6e 61 6d | 65 0d 70 75 74 20 63 68 |2 thenam|e.put ch|
|000035b0| 61 72 20 31 20 74 6f 20 | 33 32 20 6f 66 20 74 68 |ar 1 to |32 of th|
|000035c0| 65 6e 61 6d 65 20 69 6e | 74 6f 20 74 68 65 6e 61 |ename in|to thena|
|000035d0| 6d 65 0d 70 75 74 20 77 | 6f 72 64 20 31 20 74 6f |me.put w|ord 1 to|
|000035e0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 77 | the num|ber of w|
|000035f0| 6f 72 64 73 20 69 6e 20 | 74 68 65 6e 61 6d 65 20 |ords in |thename |
|00003600| 6f 66 20 74 68 65 6e 61 | 6d 65 20 69 6e 74 6f 20 |of thena|me into |
|00003610| 74 68 65 6e 61 6d 65 0d | 72 65 74 75 72 6e 20 74 |thename.|return t|
|00003620| 68 65 6e 61 6d 65 0d 65 | 6e 64 20 73 74 72 69 70 |hename.e|nd strip|
|00003630| 33 32 0d 66 75 6e 63 74 | 69 6f 6e 20 64 6f 77 68 |32.funct|ion dowh|
|00003640| 6f 6c 65 6c 69 6e 65 0d | 70 75 74 20 63 6c 69 63 |oleline.|put clic|
|00003650| 6b 4c 69 6e 65 28 29 20 | 69 6e 74 6f 20 74 68 65 |kLine() |into the|
|00003660| 4c 69 6e 65 0d 70 75 74 | 20 74 68 65 20 76 61 6c |Line.put| the val|
|00003670| 75 65 20 6f 66 20 63 6c | 69 63 6b 4c 69 6e 65 28 |ue of cl|ickLine(|
|00003680| 29 20 69 6e 74 6f 20 61 | 64 72 65 73 73 65 0d 69 |) into a|dresse.i|
|00003690| 66 20 61 64 72 65 73 73 | 65 20 69 73 20 65 6d 70 |f adress|e is emp|
|000036a0| 74 79 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 65 |ty then |return e|
|000036b0| 6d 70 74 79 0d 73 65 6c | 65 63 74 20 74 68 65 4c |mpty.sel|ect theL|
|000036c0| 69 6e 65 0d 72 65 74 75 | 72 6e 20 73 74 72 69 70 |ine.retu|rn strip|
|000036d0| 33 32 28 61 64 72 65 73 | 73 65 29 0d 65 6e 64 20 |32(adres|se).end |
|000036e0| 64 6f 77 68 6f 6c 65 6c | 69 6e 65 0d 6f 6e 20 63 |dowholel|ine.on c|
|000036f0| 6f 6e 66 6f 75 6e 64 69 | 74 61 67 61 69 6e 0d 67 |onfoundi|tagain.g|
|00003700| 6c 6f 62 61 6c 20 63 6f | 6e 66 6f 75 6e 64 2c 63 |lobal co|nfound,c|
|00003710| 61 74 61 72 62 54 2c 62 | 73 6d 73 6b 65 65 70 2c |atarbT,b|smskeep,|
|00003720| 6c 70 72 6d 70 74 0d 69 | 66 20 63 6f 6e 66 6f 75 |lprmpt.i|f confou|
|00003730| 6e 64 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |nd is em|pty then|
|00003740| 20 65 78 69 74 20 63 6f | 6e 66 6f 75 6e 64 69 74 | exit co|nfoundit|
|00003750| 61 67 61 69 6e 0d 69 66 | 20 63 61 74 61 72 62 54 |again.if| catarbT|
|00003760| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|00003770| 78 69 74 20 63 6f 6e 66 | 6f 75 6e 64 69 74 61 67 |xit conf|ounditag|
|00003780| 61 69 6e 0d 73 65 74 20 | 6c 6f 63 6b 72 65 63 65 |ain.set |lockrece|
|00003790| 6e 74 20 74 6f 20 74 72 | 75 65 0d 70 75 74 20 62 |nt to tr|ue.put b|
|000037a0| 73 6d 73 6b 65 65 70 20 | 69 6e 74 6f 20 62 73 6d |smskeep |into bsm|
|000037b0| 73 6b 65 65 70 6b 65 65 | 70 0d 70 75 74 20 74 72 |skeepkee|p.put tr|
|000037c0| 75 65 20 69 6e 74 6f 20 | 62 73 6d 73 6b 65 65 70 |ue into |bsmskeep|
|000037d0| 0d 73 65 74 20 74 68 65 | 20 69 74 65 6d 64 65 6c |.set the| itemdel|
|000037e0| 69 6d 69 74 65 72 20 74 | 6f 20 74 61 62 0d 70 75 |imiter t|o tab.pu|
|000037f0| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 63 6f 6e 66 |t item 1| of conf|
|00003800| 6f 75 6e 64 20 69 6e 74 | 6f 20 6c 61 66 69 63 65 |ound int|o lafice|
|00003810| 6c 6c 65 0d 72 65 70 65 | 61 74 20 77 68 69 6c 65 |lle.repe|at while|
|00003820| 20 28 69 74 65 6d 20 32 | 20 6f 66 20 63 6f 6e 66 | (item 2| of conf|
|00003830| 6f 75 6e 64 29 20 3c 20 | 28 74 68 65 20 6e 75 6d |ound) < |(the num|
|00003840| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00003850| 63 61 74 61 72 62 54 29 | 0d 73 65 74 20 74 68 65 |catarbT)|.set the|
|00003860| 20 69 74 65 6d 64 65 6c | 69 6d 69 74 65 72 20 74 | itemdel|imiter t|
|00003870| 6f 20 74 61 62 0d 61 64 | 64 20 31 20 74 6f 20 69 |o tab.ad|d 1 to i|
|00003880| 74 65 6d 20 32 20 6f 66 | 20 63 6f 6e 66 6f 75 6e |tem 2 of| confoun|
|00003890| 64 0d 70 75 74 20 6c 69 | 6e 65 20 28 69 74 65 6d |d.put li|ne (item|
|000038a0| 20 32 20 6f 66 20 63 6f | 6e 66 6f 75 6e 64 29 20 | 2 of co|nfound) |
|000038b0| 6f 66 20 63 61 74 61 72 | 62 54 20 69 6e 74 6f 20 |of catar|bT into |
|000038c0| 74 68 65 73 74 61 63 6b | 0d 73 65 74 20 74 68 65 |thestack|.set the|
|000038d0| 20 69 74 65 6d 64 65 6c | 69 6d 69 74 65 72 20 74 | itemdel|imiter t|
|000038e0| 6f 20 63 6f 6d 6d 61 0d | 67 6f 20 73 74 61 63 6b |o comma.|go stack|
|000038f0| 20 74 68 65 73 74 61 63 | 6b 0d 69 66 20 74 68 65 | thestac|k.if the|
|00003900| 20 72 65 73 75 6c 74 20 | 69 73 20 6e 6f 74 20 65 | result |is not e|
|00003910| 6d 70 74 79 20 74 68 65 | 6e 20 6e 65 78 74 20 72 |mpty the|n next r|
|00003920| 65 70 65 61 74 0d 66 69 | 6e 64 20 73 74 72 69 6e |epeat.fi|nd strin|
|00003930| 67 20 28 6c 61 66 69 63 | 65 6c 6c 65 29 0d 69 66 |g (lafic|elle).if|
|00003940| 20 74 68 65 20 66 6f 75 | 6e 64 63 68 75 6e 6b 20 | the fou|ndchunk |
|00003950| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 6e 65 |is empty| then ne|
|00003960| 78 74 20 72 65 70 65 61 | 74 0d 70 75 74 20 22 66 |xt repea|t.put "f|
|00003970| 69 6e 64 20 73 74 72 69 | 6e 67 22 20 26 26 20 71 |ind stri|ng" && q|
|00003980| 75 6f 74 65 20 26 20 6c | 61 66 69 63 65 6c 6c 65 |uote & l|aficelle|
|00003990| 20 26 20 71 75 6f 74 65 | 0d 70 75 74 20 62 73 6d | & quote|.put bsm|
|000039a0| 73 6b 65 65 70 6b 65 65 | 70 20 69 6e 74 6f 20 62 |skeepkee|p into b|
|000039b0| 73 6d 73 6b 65 65 70 0d | 68 69 64 65 20 6d 73 67 |smskeep.|hide msg|
|000039c0| 0d 65 78 69 74 20 63 6f | 6e 66 6f 75 6e 64 69 74 |.exit co|nfoundit|
|000039d0| 61 67 61 69 6e 0d 65 6e | 64 20 72 65 70 65 61 74 |again.en|d repeat|
|000039e0| 0d 70 75 74 20 62 73 6d | 73 6b 65 65 70 6b 65 65 |.put bsm|skeepkee|
|000039f0| 70 20 69 6e 74 6f 20 62 | 73 6d 73 6b 65 65 70 0d |p into b|smskeep.|
|00003a00| 61 6e 73 77 65 72 20 6c | 69 6e 65 20 31 34 20 6f |answer l|ine 14 o|
|00003a10| 66 20 6c 70 72 6d 70 74 | 20 2d 2d 20 c6 0d 70 75 |f lprmpt| -- ..pu|
|00003a20| 74 20 30 20 69 6e 74 6f | 20 69 74 65 6d 20 32 20 |t 0 into| item 2 |
|00003a30| 6f 66 20 63 6f 6e 66 6f | 75 6e 64 0d 73 65 74 20 |of confo|und.set |
|00003a40| 74 68 65 20 69 74 65 6d | 64 65 6c 69 6d 69 74 65 |the item|delimite|
|00003a50| 72 20 74 6f 20 63 6f 6d | 6d 61 0d 65 6e 64 20 63 |r to com|ma.end c|
|00003a60| 6f 6e 66 6f 75 6e 64 69 | 74 61 67 61 69 6e 0d 6f |onfoundi|tagain.o|
|00003a70| 6e 20 63 6f 6e 66 6f 75 | 6e 64 69 74 0d 67 6c 6f |n confou|ndit.glo|
|00003a80| 62 61 6c 20 63 6f 6e 66 | 6f 75 6e 64 2c 63 61 74 |bal conf|ound,cat|
|00003a90| 61 72 62 54 2c 6c 70 72 | 6d 70 74 2c 6c 65 74 69 |arbT,lpr|mpt,leti|
|00003aa0| 74 72 65 0d 69 66 20 63 | 61 74 61 72 62 54 20 69 |tre.if c|atarbT i|
|00003ab0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|00003ac0| 74 20 63 6f 6e 66 6f 75 | 6e 64 69 74 0d 70 75 74 |t confou|ndit.put|
|00003ad0| 20 6c 65 74 69 74 72 65 | 20 69 6e 74 6f 20 74 68 | letitre| into th|
|00003ae0| 65 6f 6c 64 0d 61 73 6b | 20 6c 69 6e 65 20 31 35 |eold.ask| line 15|
|00003af0| 20 6f 66 20 6c 70 72 6d | 70 74 20 77 69 74 68 20 | of lprm|pt with |
|00003b00| 6c 65 74 69 74 72 65 20 | 2d 2d 20 c6 0d 69 66 20 |letitre |-- ..if |
|00003b10| 28 74 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 22 |(the res|ult is "|
|00003b20| 43 61 6e 63 65 6c 22 29 | 20 6f 72 20 28 69 74 20 |Cancel")| or (it |
|00003b30| 69 73 20 65 6d 70 74 79 | 29 20 74 68 65 6e 20 65 |is empty|) then e|
|00003b40| 78 69 74 20 63 6f 6e 66 | 6f 75 6e 64 69 74 0d 70 |xit conf|oundit.p|
|00003b50| 75 74 20 69 74 20 69 6e | 74 6f 20 6c 65 74 69 74 |ut it in|to letit|
|00003b60| 72 65 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 63 |re.put i|t into c|
|00003b70| 6f 6e 66 6f 75 6e 64 0d | 70 75 74 20 74 61 62 20 |onfound.|put tab |
|00003b80| 26 20 22 30 22 20 61 66 | 74 65 72 20 63 6f 6e 66 |& "0" af|ter conf|
|00003b90| 6f 75 6e 64 0d 63 6f 6e | 66 6f 75 6e 64 69 74 61 |ound.con|foundita|
|00003ba0| 67 61 69 6e 0d 65 6e 64 | 20 63 6f 6e 66 6f 75 6e |gain.end| confoun|
|00003bb0| 64 69 74 0d 6f 6e 20 63 | 61 74 61 63 74 20 6c 65 |dit.on c|atact le|
|00003bc0| 63 68 61 6d 70 0d 67 6c | 6f 62 61 6c 20 74 68 65 |champ.gl|obal the|
|00003bd0| 69 64 30 0d 69 66 20 6c | 65 63 68 61 6d 70 20 69 |id0.if l|echamp i|
|00003be0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |s empty |then put|
|00003bf0| 20 22 74 6f 63 22 20 69 | 6e 74 6f 20 6c 65 63 68 | "toc" i|nto lech|
|00003c00| 61 6d 70 0d 69 66 20 74 | 68 65 20 6f 70 74 69 6f |amp.if t|he optio|
|00003c10| 6e 4b 65 79 20 69 73 20 | 64 6f 77 6e 20 74 68 65 |nKey is |down the|
|00003c20| 6e 20 62 73 6d 73 74 72 | 69 65 72 20 6c 65 63 68 |n bsmstr|ier lech|
|00003c30| 61 6d 70 0d 65 6c 73 65 | 0d 70 75 74 20 64 6f 77 |amp.else|.put dow|
|00003c40| 68 6f 6c 65 6c 69 6e 65 | 28 29 20 69 6e 74 6f 20 |holeline|() into |
|00003c50| 61 64 72 65 73 73 65 0d | 69 66 20 74 68 65 20 63 |adresse.|if the c|
|00003c60| 6f 6d 6d 61 6e 64 4b 65 | 79 20 69 73 20 64 6f 77 |ommandKe|y is dow|
|00003c70| 6e 20 74 68 65 6e 20 6c | 79 73 62 20 61 64 72 65 |n then l|ysb adre|
|00003c80| 73 73 65 0d 65 6c 73 65 | 0d 69 66 20 74 68 65 20 |sse.else|.if the |
|00003c90| 73 68 69 66 74 4b 65 79 | 20 69 73 20 64 6f 77 6e |shiftKey| is down|
|00003ca0| 20 74 68 65 6e 0d 69 66 | 20 61 64 72 65 73 73 65 | then.if| adresse|
|00003cb0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 61 | is empt|y then a|
|00003cc0| 6a 6f 75 74 63 61 74 20 | 6c 65 63 68 61 6d 70 0d |joutcat |lechamp.|
|00003cd0| 65 6c 73 65 20 69 66 20 | 74 68 65 72 65 20 69 73 |else if |there is|
|00003ce0| 20 6e 6f 74 20 61 20 73 | 74 61 63 6b 20 61 64 72 | not a s|tack adr|
|00003cf0| 65 73 73 65 20 61 6e 64 | 20 6c 65 63 68 61 6d 70 |esse and| lechamp|
|00003d00| 20 69 73 20 22 74 6f 63 | 22 20 74 68 65 6e 20 6c | is "toc|" then l|
|00003d10| 79 73 6d 61 6b 65 73 74 | 61 63 6b 20 61 64 72 65 |ysmakest|ack adre|
|00003d20| 73 73 65 0d 65 78 69 74 | 20 63 61 74 61 63 74 0d |sse.exit| catact.|
|00003d30| 65 6e 64 20 69 66 0d 69 | 66 20 61 64 72 65 73 73 |end if.i|f adress|
|00003d40| 65 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |e is emp|ty then |
|00003d50| 65 78 69 74 20 63 61 74 | 61 63 74 0d 69 66 20 74 |exit cat|act.if t|
|00003d60| 68 65 72 65 20 69 73 20 | 61 20 73 74 61 63 6b 20 |here is |a stack |
|00003d70| 61 64 72 65 73 73 65 20 | 74 68 65 6e 20 70 75 74 |adresse |then put|
|00003d80| 20 63 6f 6d 70 6f 73 69 | 64 28 29 20 26 20 72 65 | composi|d() & re|
|00003d90| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 69 64 |turn aft|er theid|
|00003da0| 30 0d 62 73 6d 73 6e 77 | 69 6e 20 61 64 72 65 73 |0.bsmsnw|in adres|
|00003db0| 73 65 0d 68 69 64 65 20 | 6d 73 67 0d 65 6e 64 20 |se.hide |msg.end |
|00003dc0| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 63 61 |if.end i|f.end ca|
|00003dd0| 74 61 63 74 0d 66 75 6e | 63 74 69 6f 6e 20 73 74 |tact.fun|ction st|
|00003de0| 72 69 70 50 61 74 68 32 | 20 70 61 74 68 2c 64 65 |ripPath2| path,de|
|00003df0| 6c 69 0d 70 75 74 20 6c | 69 6e 65 20 31 20 6f 66 |li.put l|ine 1 of|
|00003e00| 20 70 61 74 68 20 69 6e | 74 6f 20 70 61 74 68 0d | path in|to path.|
|00003e10| 69 66 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |if last |char of |
|00003e20| 70 61 74 68 20 69 73 20 | 70 65 72 69 6f 64 20 74 |path is |period t|
|00003e30| 68 65 6e 20 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |hen dele|te last |
|00003e40| 63 68 61 72 20 6f 66 20 | 70 61 74 68 0d 70 75 74 |char of |path.put|
|00003e50| 20 73 74 72 69 70 70 61 | 74 68 31 28 70 61 74 68 | strippa|th1(path|
|00003e60| 2c 63 6f 6d 6d 61 29 20 | 69 6e 74 6f 20 70 61 74 |,comma) |into pat|
|00003e70| 68 0d 69 66 20 64 65 6c | 69 20 69 73 20 6e 6f 74 |h.if del|i is not|
|00003e80| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 70 75 74 20 | empty t|hen put |
|00003e90| 73 74 72 69 70 70 61 74 | 68 31 28 70 61 74 68 29 |strippat|h1(path)|
|00003ea0| 20 69 6e 74 6f 20 70 61 | 74 68 0d 70 75 74 20 73 | into pa|th.put s|
|00003eb0| 74 72 69 70 33 32 28 70 | 61 74 68 29 20 69 6e 74 |trip32(p|ath) int|
|00003ec0| 6f 20 70 61 74 68 0d 72 | 65 74 75 72 6e 20 70 61 |o path.r|eturn pa|
|00003ed0| 74 68 0d 65 6e 64 20 73 | 74 72 69 70 50 61 74 68 |th.end s|tripPath|
|00003ee0| 32 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 69 73 74 6f |2..funct|ion isto|
|00003ef0| 63 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |c.put fa|lse into|
|00003f00| 20 74 68 65 66 61 63 74 | 0d 69 66 20 74 68 65 20 | thefact|.if the |
|00003f10| 73 65 6c 65 63 74 69 6f | 6e 20 69 73 20 6e 6f 74 |selectio|n is not|
|00003f20| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 69 66 20 66 | empty t|hen.if f|
|00003f30| 69 72 73 74 20 77 6f 72 | 64 20 6f 66 20 74 68 65 |irst wor|d of the|
|00003f40| 20 73 65 6c 65 63 74 65 | 64 66 69 65 6c 64 20 69 | selecte|dfield i|
|00003f50| 73 20 22 62 6b 67 6e 64 | 22 20 74 68 65 6e 0d 69 |s "bkgnd|" then.i|
|00003f60| 66 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |f short |name of |
|00003f70| 66 69 65 6c 64 20 28 6c | 61 73 74 20 77 6f 72 64 |field (l|ast word|
|00003f80| 20 6f 66 20 74 68 65 20 | 73 65 6c 65 63 74 65 64 | of the |selected|
|00003f90| 66 69 65 6c 64 29 20 69 | 73 20 22 74 6f 63 22 20 |field) i|s "toc" |
|00003fa0| 74 68 65 6e 20 70 75 74 | 20 74 72 75 65 20 69 6e |then put| true in|
|00003fb0| 74 6f 20 74 68 65 66 61 | 63 74 0d 65 6e 64 20 69 |to thefa|ct.end i|
|00003fc0| 66 0d 65 6e 64 20 69 66 | 0d 72 65 74 75 72 6e 20 |f.end if|.return |
|00003fd0| 74 68 65 66 61 63 74 0d | 65 6e 64 20 69 73 74 6f |thefact.|end isto|
|00003fe0| 63 0d 66 75 6e 63 74 69 | 6f 6e 20 63 6f 6d 70 6f |c.functi|on compo|
|00003ff0| 73 69 64 0d 70 75 74 20 | 61 62 62 72 65 76 69 61 |sid.put |abbrevia|
|00004000| 74 65 64 20 69 64 20 6f | 66 20 74 68 69 73 20 63 |ted id o|f this c|
|00004010| 61 72 64 20 69 6e 74 6f | 20 63 61 72 64 69 64 0d |ard into| cardid.|
|00004020| 70 75 74 20 61 62 62 72 | 65 76 69 61 74 65 64 20 |put abbr|eviated |
|00004030| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00004040| 63 6b 20 69 6e 74 6f 20 | 73 74 61 63 6b 69 64 0d |ck into |stackid.|
|00004050| 70 75 74 20 63 61 72 64 | 69 64 20 26 26 20 22 6f |put card|id && "o|
|00004060| 66 22 20 26 26 20 73 74 | 61 63 6b 69 64 20 69 6e |f" && st|ackid in|
|00004070| 74 6f 20 6c 69 6e 6b 69 | 64 0d 72 65 74 75 72 6e |to linki|d.return|
|00004080| 20 6c 69 6e 6b 69 64 0d | 65 6e 64 20 63 6f 6d 70 | linkid.|end comp|
|00004090| 6f 73 69 64 0d 66 75 6e | 63 74 69 6f 6e 20 63 6f |osid.fun|ction co|
|000040a0| 6d 70 6f 73 6e 6f 6d 0d | 70 75 74 20 71 75 6f 74 |mposnom.|put quot|
|000040b0| 65 20 26 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |e & shor|t name o|
|000040c0| 66 20 74 68 69 73 20 63 | 61 72 64 20 26 20 71 75 |f this c|ard & qu|
|000040d0| 6f 74 65 20 26 26 20 71 | 75 6f 74 65 20 26 20 73 |ote && q|uote & s|
|000040e0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000040f0| 73 20 73 74 61 63 6b 20 | 26 20 71 75 6f 74 65 20 |s stack |& quote |
|00004100| 69 6e 74 6f 20 6c 65 6e | 6f 6d 0d 72 65 74 75 72 |into len|om.retur|
|00004110| 6e 20 6c 65 6e 6f 6d 0d | 65 6e 64 20 63 6f 6d 70 |n lenom.|end comp|
|00004120| 6f 73 6e 6f 6d 0d 6f 6e | 20 6c 79 73 61 64 64 70 |osnom.on| lysaddp|
|00004130| 61 74 68 0d 70 75 74 20 | 76 61 6c 75 65 28 6c 61 |ath.put |value(la|
|00004140| 73 74 20 77 6f 72 64 20 | 6f 66 20 28 6c 6f 6e 67 |st word |of (long|
|00004150| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00004160| 61 63 6b 29 29 20 69 6e | 74 6f 20 6c 6f 6e 67 46 |ack)) in|to longF|
|00004170| 69 6c 65 4e 61 6d 65 0d | 70 75 74 20 67 65 74 4c |ileName.|put getL|
|00004180| 59 53 50 61 74 68 4e 61 | 6d 65 28 6c 6f 6e 67 46 |YSPathNa|me(longF|
|00004190| 69 6c 65 4e 61 6d 65 29 | 20 69 6e 74 6f 20 74 68 |ileName)| into th|
|000041a0| 65 50 61 74 68 0d 75 70 | 64 61 74 65 4c 59 53 50 |ePath.up|dateLYSP|
|000041b0| 61 74 68 73 20 74 68 65 | 50 61 74 68 0d 65 6e 64 |aths the|Path.end|
|000041c0| 20 6c 79 73 61 64 64 70 | 61 74 68 0d 0d 6f 6e 20 | lysaddp|ath..on |
|000041d0| 6c 79 73 6c 74 63 0d 67 | 6c 6f 62 61 6c 20 74 68 |lysltc.g|lobal th|
|000041e0| 65 63 61 6c 6c 65 72 2c | 63 6f 6f 6c 67 6c 6f 2c |ecaller,|coolglo,|
|000041f0| 6d 79 67 6c 6f 62 2c 6c | 61 70 68 2c 75 6e 4c 61 |myglob,l|aph,unLa|
|00004200| 70 68 2c 74 68 65 69 64 | 2c 6c 70 72 6d 70 74 0d |ph,theid|,lprmpt.|
|00004210| 73 65 74 20 6c 6f 63 6b | 73 63 72 65 65 6e 20 74 |set lock|screen t|
|00004220| 6f 20 74 72 75 65 0d 73 | 65 74 20 6c 6f 63 6b 72 |o true.s|et lockr|
|00004230| 65 63 65 6e 74 20 74 6f | 20 74 72 75 65 0d 73 65 |ecent to| true.se|
|00004240| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00004250| 68 0d 6c 79 73 61 64 64 | 70 61 74 68 0d 70 75 74 |h.lysadd|path.put|
|00004260| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00004270| 68 69 73 20 63 61 72 64 | 20 69 6e 74 6f 20 74 68 |his card| into th|
|00004280| 65 63 6e 0d 70 75 74 20 | 73 68 6f 72 74 20 6e 61 |ecn.put |short na|
|00004290| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|000042a0| 20 69 6e 74 6f 20 73 6e | 73 0d 69 66 20 73 6e 73 | into sn|s.if sns|
|000042b0| 20 69 73 20 75 6e 6c 61 | 70 68 20 74 68 65 6e 0d | is unla|ph then.|
|000042c0| 61 6e 73 77 65 72 20 6c | 69 6e 65 20 31 36 20 6f |answer l|ine 16 o|
|000042d0| 66 20 6c 70 72 6d 70 74 | 0d 67 6f 20 74 68 65 69 |f lprmpt|.go thei|
|000042e0| 64 0d 65 6c 73 65 0d 70 | 75 74 20 71 75 6f 74 65 |d.else.p|ut quote|
|000042f0| 20 26 20 74 68 65 63 6e | 20 26 20 71 75 6f 74 65 | & thecn| & quote|
|00004300| 20 26 26 20 71 75 6f 74 | 65 20 26 20 73 6e 73 20 | && quot|e & sns |
|00004310| 26 20 71 75 6f 74 65 20 | 69 6e 74 6f 20 6c 69 6e |& quote |into lin|
|00004320| 6b 6c 69 6e 65 32 0d 70 | 75 74 20 6c 69 6e 6b 6c |kline2.p|ut linkl|
|00004330| 69 6e 65 32 20 26 26 20 | 6c 61 70 68 20 69 6e 74 |ine2 && |laph int|
|00004340| 6f 20 6c 69 6e 6b 6c 69 | 6e 65 33 0d 2d 2d 20 69 |o linkli|ne3.-- i|
|00004350| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 66 69 65 |f there |is a fie|
|00004360| 6c 64 20 22 74 68 65 6d | 61 73 74 65 72 22 20 74 |ld "them|aster" t|
|00004370| 68 65 6e 20 62 73 6d 73 | 6c 69 6e 6b 20 74 68 65 |hen bsms|link the|
|00004380| 63 61 6c 6c 65 72 0d 69 | 66 20 63 6f 6f 6c 67 6c |caller.i|f coolgl|
|00004390| 6f 20 69 73 20 74 72 75 | 65 20 61 6e 64 20 6d 79 |o is tru|e and my|
|000043a0| 67 6c 6f 62 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |glob is |not empt|
|000043b0| 79 20 74 68 65 6e 20 68 | 6f 6f 6b 67 6c 6f 62 20 |y then h|ookglob |
|000043c0| 6c 69 6e 6b 6c 69 6e 65 | 33 0d 69 66 20 74 68 65 |linkline|3.if the|
|000043d0| 63 6e 20 69 73 20 6e 6f | 74 20 75 6e 6c 61 70 68 |cn is no|t unlaph|
|000043e0| 20 74 68 65 6e 20 68 6f | 6f 6b 62 6f 74 74 6f 6d | then ho|okbottom|
|000043f0| 20 6c 69 6e 6b 6c 69 6e | 65 33 0d 65 6c 73 65 20 | linklin|e3.else |
|00004400| 68 6f 6f 6b 62 6f 74 74 | 6f 6d 20 6c 69 6e 6b 6c |hookbott|om linkl|
|00004410| 69 6e 65 32 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |ine2.end| if.put |
|00004420| 65 6d 70 74 79 20 69 6e | 74 6f 20 63 6f 6f 6c 67 |empty in|to coolg|
|00004430| 6c 6f 0d 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |lo.close| window |
|00004440| 22 62 73 6d 73 4b 69 74 | 65 50 61 6c 22 0d 65 6e |"bsmsKit|ePal".en|
|00004450| 64 20 6c 79 73 6c 74 63 | 0d 6f 6e 20 6c 79 73 6c |d lysltc|.on lysl|
|00004460| 74 73 0d 67 6c 6f 62 61 | 6c 20 63 6f 6f 6c 67 6c |ts.globa|l coolgl|
|00004470| 6f 2c 6d 79 67 6c 6f 62 | 2c 6c 61 70 68 2c 75 6e |o,myglob|,laph,un|
|00004480| 4c 61 70 68 2c 74 68 65 | 69 64 0d 73 65 74 20 6c |Laph,the|id.set l|
|00004490| 6f 63 6b 73 63 72 65 65 | 6e 20 74 6f 20 74 72 75 |ockscree|n to tru|
|000044a0| 65 0d 73 65 74 20 6c 6f | 63 6b 72 65 63 65 6e 74 |e.set lo|ckrecent|
|000044b0| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 63 75 72 | to true|.set cur|
|000044c0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 6c 79 73 |sor to w|atch.lys|
|000044d0| 61 64 64 70 61 74 68 0d | 70 75 74 20 73 68 6f 72 |addpath.|put shor|
|000044e0| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 73 |t name o|f this s|
|000044f0| 74 61 63 6b 20 69 6e 74 | 6f 20 73 6e 73 0d 69 66 |tack int|o sns.if|
|00004500| 20 73 6e 73 20 69 73 20 | 6e 6f 74 20 75 6e 6c 61 | sns is |not unla|
|00004510| 70 68 20 74 68 65 6e 0d | 70 75 74 20 71 75 6f 74 |ph then.|put quot|
|00004520| 65 20 26 20 71 75 6f 74 | 65 20 26 26 20 71 75 6f |e & quot|e && quo|
|00004530| 74 65 20 26 20 73 6e 73 | 20 26 20 71 75 6f 74 65 |te & sns| & quote|
|00004540| 20 26 26 20 6c 61 70 68 | 20 69 6e 74 6f 20 6c 69 | && laph| into li|
|00004550| 6e 6b 6c 69 6e 65 0d 69 | 66 20 63 6f 6f 6c 67 6c |nkline.i|f coolgl|
|00004560| 6f 20 69 73 20 74 72 75 | 65 20 61 6e 64 20 6d 79 |o is tru|e and my|
|00004570| 67 6c 6f 62 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |glob is |not empt|
|00004580| 79 20 74 68 65 6e 20 68 | 6f 6f 6b 67 6c 6f 62 20 |y then h|ookglob |
|00004590| 6c 69 6e 6b 6c 69 6e 65 | 0d 68 6f 6f 6b 62 6f 74 |linkline|.hookbot|
|000045a0| 74 6f 6d 20 6c 69 6e 6b | 6c 69 6e 65 0d 65 6c 73 |tom link|line.els|
|000045b0| 65 20 67 6f 20 74 68 65 | 69 64 0d 70 75 74 20 65 |e go the|id.put e|
|000045c0| 6d 70 74 79 20 69 6e 74 | 6f 20 63 6f 6f 6c 67 6c |mpty int|o coolgl|
|000045d0| 6f 0d 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 22 |o.close |window "|
|000045e0| 62 73 6d 73 4b 69 74 65 | 50 61 6c 22 0d 65 6e 64 |bsmsKite|Pal".end|
|000045f0| 20 6c 79 73 6c 74 73 0d | 6f 6e 20 68 6f 6f 6b 67 | lyslts.|on hookg|
|00004600| 6c 6f 62 20 6c 69 6e 6b | 6c 69 6e 65 0d 67 6c 6f |lob link|line.glo|
|00004610| 62 61 6c 20 6d 79 67 6c | 6f 62 2c 6c 61 70 68 2c |bal mygl|ob,laph,|
|00004620| 75 6e 4c 61 70 68 2c 62 | 73 6d 73 6c 69 6e 6b 4b |unLaph,b|smslinkK|
|00004630| 57 2c 62 73 6d 73 6c 69 | 6e 6b 48 52 2c 62 73 6d |W,bsmsli|nkHR,bsm|
|00004640| 73 6c 69 6e 6b 4c 52 2c | 62 69 7a 61 72 72 65 0d |slinkLR,|bizarre.|
|00004650| 70 75 74 20 63 68 61 72 | 20 32 20 6f 66 20 6c 61 |put char| 2 of la|
|00004660| 70 68 20 69 6e 74 6f 20 | 74 68 65 70 6c 61 63 65 |ph into |theplace|
|00004670| 0d 69 66 20 74 68 65 70 | 6c 61 63 65 20 69 73 20 |.if thep|lace is |
|00004680| 61 20 6e 75 6d 62 65 72 | 20 74 68 65 6e 20 70 75 |a number| then pu|
|00004690| 74 20 22 2a 22 20 69 6e | 74 6f 20 74 68 65 70 6c |t "*" in|to thepl|
|000046a0| 61 63 65 0d 73 65 74 20 | 6c 6f 63 6b 6d 65 73 73 |ace.set |lockmess|
|000046b0| 61 67 65 73 20 74 6f 20 | 74 72 75 65 0d 70 75 73 |ages to |true.pus|
|000046c0| 68 20 63 61 72 64 0d 67 | 6f 20 73 74 61 63 6b 20 |h card.g|o stack |
|000046d0| 6d 79 67 6c 6f 62 0d 69 | 66 20 74 68 65 72 65 20 |myglob.i|f there |
|000046e0| 69 73 20 61 20 63 61 72 | 64 20 74 68 65 70 6c 61 |is a car|d thepla|
|000046f0| 63 65 20 74 68 65 6e 0d | 67 6f 20 63 61 72 64 20 |ce then.|go card |
|00004700| 74 68 65 70 6c 61 63 65 | 0d 65 6c 73 65 0d 67 6f |theplace|.else.go|
|00004710| 20 63 61 72 64 20 22 2a | 22 0d 72 65 70 65 61 74 | card "*|".repeat|
|00004720| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 74 | with i |= 1 to t|
|00004730| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00004740| 65 73 20 69 6e 20 62 69 | 7a 61 72 72 65 0d 69 66 |es in bi|zarre.if|
|00004750| 20 74 68 65 70 6c 61 63 | 65 20 69 73 20 69 74 65 | theplac|e is ite|
|00004760| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 69 20 6f 66 |m 1 of l|ine i of|
|00004770| 20 62 69 7a 61 72 72 65 | 20 74 68 65 6e 0d 67 6f | bizarre| then.go|
|00004780| 20 63 61 72 64 20 28 69 | 74 65 6d 20 32 20 6f 66 | card (i|tem 2 of|
|00004790| 20 6c 69 6e 65 20 69 20 | 6f 66 20 62 69 7a 61 72 | line i |of bizar|
|000047a0| 72 65 29 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |re).exit| repeat.|
|000047b0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|000047c0| 74 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 6c 61 70 |t.end if|.put lap|
|000047d0| 68 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |h & retu|rn after|
|000047e0| 20 66 69 65 6c 64 20 22 | 62 73 6d 73 6c 69 6e 6b | field "|bsmslink|
|000047f0| 4b 57 22 0d 70 75 74 20 | 75 6e 6c 61 70 68 20 26 |KW".put |unlaph &|
|00004800| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 66 69 | return |after fi|
|00004810| 65 6c 64 20 22 62 73 6d | 73 6c 69 6e 6b 4c 52 22 |eld "bsm|slinkLR"|
|00004820| 0d 70 75 74 20 6c 69 6e | 6b 6c 69 6e 65 20 26 20 |.put lin|kline & |
|00004830| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 66 69 65 |return a|fter fie|
|00004840| 6c 64 20 22 62 73 6d 73 | 6c 69 6e 6b 48 52 22 0d |ld "bsms|linkHR".|
|00004850| 70 75 74 20 6c 61 70 68 | 20 26 20 72 65 74 75 72 |put laph| & retur|
|00004860| 6e 20 61 66 74 65 72 20 | 62 73 6d 73 6c 69 6e 6b |n after |bsmslink|
|00004870| 4b 57 0d 70 75 74 20 75 | 6e 6c 61 70 68 20 26 20 |KW.put u|nlaph & |
|00004880| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 62 73 6d |return a|fter bsm|
|00004890| 73 6c 69 6e 6b 4c 52 0d | 70 75 74 20 6c 69 6e 6b |slinkLR.|put link|
|000048a0| 6c 69 6e 65 20 26 20 72 | 65 74 75 72 6e 20 61 66 |line & r|eturn af|
|000048b0| 74 65 72 20 62 73 6d 73 | 6c 69 6e 6b 48 52 0d 70 |ter bsms|linkHR.p|
|000048c0| 6f 70 20 63 61 72 64 0d | 73 65 74 20 6c 6f 63 6b |op card.|set lock|
|000048d0| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 66 61 6c 73 |messages| to fals|
|000048e0| 65 0d 65 6e 64 20 68 6f | 6f 6b 67 6c 6f 62 0d 6f |e.end ho|okglob.o|
|000048f0| 6e 20 68 6f 6f 6b 62 6f | 74 74 6f 6d 20 6c 69 6e |n hookbo|ttom lin|
|00004900| 6b 6c 69 6e 65 0d 67 6c | 6f 62 61 6c 20 74 68 65 |kline.gl|obal the|
|00004910| 69 64 0d 67 6f 20 74 68 | 65 69 64 0d 62 73 6d 73 |id.go th|eid.bsms|
|00004920| 6c 69 6e 6b 20 6c 69 6e | 6b 6c 69 6e 65 0d 65 6e |link lin|kline.en|
|00004930| 64 20 68 6f 6f 6b 62 6f | 74 74 6f 6d 0d 6f 6e 20 |d hookbo|ttom.on |
|00004940| 73 72 65 74 61 6e 63 0d | 67 6c 6f 62 61 6c 20 74 |sretanc.|global t|
|00004950| 68 65 69 64 0d 67 6f 20 | 74 68 65 69 64 0d 65 6e |heid.go |theid.en|
|00004960| 64 20 73 72 65 74 61 6e | 63 0d 6f 6e 20 62 73 6d |d sretan|c.on bsm|
|00004970| 73 6c 69 6e 6b 20 6c 6f | 31 0d 69 66 20 74 68 65 |slink lo|1.if the|
|00004980| 72 65 20 69 73 20 6e 6f | 74 20 61 20 66 69 65 6c |re is no|t a fiel|
|00004990| 64 20 22 74 68 65 6d 61 | 73 74 65 72 22 20 74 68 |d "thema|ster" th|
|000049a0| 65 6e 20 65 78 69 74 20 | 62 73 6d 73 6c 69 6e 6b |en exit |bsmslink|
|000049b0| 0d 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |.if the |number o|
|000049c0| 66 20 77 6f 72 64 73 20 | 69 6e 20 6c 6f 31 20 69 |f words |in lo1 i|
|000049d0| 73 20 32 20 74 68 65 6e | 20 70 75 74 20 6c 6f 31 |s 2 then| put lo1|
|000049e0| 20 26 26 20 77 6f 72 64 | 20 31 20 6f 66 20 6c 6f | && word| 1 of lo|
|000049f0| 31 20 69 6e 74 6f 20 6c | 6f 32 0d 65 6c 73 65 20 |1 into l|o2.else |
|00004a00| 70 75 74 20 6c 6f 31 20 | 69 6e 74 6f 20 6c 6f 32 |put lo1 |into lo2|
|00004a10| 0d 70 75 74 20 66 69 65 | 6c 64 20 22 74 68 65 6d |.put fie|ld "them|
|00004a20| 61 73 74 65 72 22 20 69 | 6e 74 6f 20 6c 6f 6f 6b |aster" i|nto look|
|00004a30| 68 65 72 65 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |here.put| false i|
|00004a40| 6e 74 6f 20 74 68 65 61 | 63 74 69 6f 6e 0d 69 66 |nto thea|ction.if|
|00004a50| 20 6c 6f 6f 6b 68 65 72 | 65 20 69 73 20 65 6d 70 | lookher|e is emp|
|00004a60| 74 79 20 74 68 65 6e 0d | 70 75 74 20 6c 6f 32 20 |ty then.|put lo2 |
|00004a70| 26 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 6c 6f |& return| into lo|
|00004a80| 6f 6b 68 65 72 65 0d 70 | 75 74 20 74 72 75 65 20 |okhere.p|ut true |
|00004a90| 69 6e 74 6f 20 74 68 65 | 61 63 74 69 6f 6e 0d 65 |into the|action.e|
|00004aa0| 6c 73 65 0d 69 66 20 73 | 65 61 72 63 68 28 6c 6f |lse.if s|earch(lo|
|00004ab0| 6f 6b 68 65 72 65 2c 6c | 6f 31 2c 66 61 6c 73 65 |okhere,l|o1,false|
|00004ac0| 29 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |) is emp|ty then.|
|00004ad0| 70 75 74 20 6c 6f 32 20 | 26 20 72 65 74 75 72 6e |put lo2 |& return|
|00004ae0| 20 61 66 74 65 72 20 6c | 6f 6f 6b 68 65 72 65 0d | after l|ookhere.|
|00004af0| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 74 68 |put true| into th|
|00004b00| 65 61 63 74 69 6f 6e 0d | 65 6e 64 20 69 66 0d 65 |eaction.|end if.e|
|00004b10| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 61 63 74 69 |nd if.if| theacti|
|00004b20| 6f 6e 20 69 73 20 74 72 | 75 65 20 74 68 65 6e 20 |on is tr|ue then |
|00004b30| 70 75 74 20 6c 6f 6f 6b | 68 65 72 65 20 69 6e 74 |put look|here int|
|00004b40| 6f 20 66 69 65 6c 64 20 | 22 74 68 65 6d 61 73 74 |o field |"themast|
|00004b50| 65 72 22 0d 65 6e 64 20 | 62 73 6d 73 6c 69 6e 6b |er".end |bsmslink|
|00004b60| 0d 6f 6e 20 62 73 6d 73 | 74 72 69 65 72 20 74 68 |.on bsms|trier th|
|00004b70| 65 66 69 65 6c 64 0d 67 | 6c 6f 62 61 6c 20 6d 6f |efield.g|lobal mo|
|00004b80| 64 66 6c 61 67 2c 70 72 | 6d 70 74 2c 6c 70 72 6d |dflag,pr|mpt,lprm|
|00004b90| 70 74 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |pt.put e|mpty int|
|00004ba0| 6f 20 6d 6f 64 66 6c 61 | 67 0d 61 6e 73 77 65 72 |o modfla|g.answer|
|00004bb0| 20 6c 69 6e 65 20 31 37 | 20 6f 66 20 6c 70 72 6d | line 17| of lprm|
|00004bc0| 70 74 20 26 20 74 68 65 | 66 69 65 6c 64 20 26 20 |pt & the|field & |
|00004bd0| 6c 69 6e 65 20 31 38 20 | 6f 66 20 6c 70 72 6d 70 |line 18 |of lprmp|
|00004be0| 74 20 77 69 74 68 20 6c | 69 6e 65 20 32 20 6f 66 |t with l|ine 2 of|
|00004bf0| 20 70 72 6d 70 74 2c 6c | 69 6e 65 20 31 20 6f 66 | prmpt,l|ine 1 of|
|00004c00| 20 70 72 6d 70 74 20 2d | 2d 20 c6 0d 69 66 20 69 | prmpt -|- ..if i|
|00004c10| 74 20 69 73 20 6e 6f 74 | 20 6c 69 6e 65 20 31 20 |t is not| line 1 |
|00004c20| 6f 66 20 70 72 6d 70 74 | 20 74 68 65 6e 20 65 78 |of prmpt| then ex|
|00004c30| 69 74 20 62 73 6d 73 74 | 72 69 65 72 0d 73 65 74 |it bsmst|rier.set|
|00004c40| 20 6c 6f 63 6b 73 63 72 | 65 65 6e 20 74 6f 20 74 | lockscr|een to t|
|00004c50| 72 75 65 0d 73 6f 72 74 | 20 6c 69 6e 65 73 20 6f |rue.sort| lines o|
|00004c60| 66 20 66 69 65 6c 64 20 | 74 68 65 66 69 65 6c 64 |f field |thefield|
|00004c70| 20 69 6e 74 65 72 6e 61 | 74 69 6f 6e 61 6c 0d 70 | interna|tional.p|
|00004c80| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 6d 6f 64 |ut true |into mod|
|00004c90| 66 6c 61 67 0d 65 6e 64 | 20 62 73 6d 73 74 72 69 |flag.end| bsmstri|
|00004ca0| 65 72 0d 6f 6e 20 64 69 | 72 65 63 74 6c 69 6e 6b |er.on di|rectlink|
|00004cb0| 20 74 68 65 48 52 0d 67 | 6c 6f 62 61 6c 20 62 73 | theHR.g|lobal bs|
|00004cc0| 6d 73 69 6e 64 65 78 0d | 70 75 74 20 77 6f 72 64 |msindex.|put word|
|00004cd0| 20 32 20 6f 66 20 74 68 | 65 20 63 6c 69 63 6b 4c | 2 of th|e clickL|
|00004ce0| 69 6e 65 20 69 6e 74 6f | 20 74 68 65 4c 69 6e 65 |ine into| theLine|
|00004cf0| 0d 70 75 74 20 64 6f 77 | 68 6f 6c 65 6c 69 6e 65 |.put dow|holeline|
|00004d00| 28 29 20 69 6e 74 6f 20 | 61 64 72 65 73 73 65 0d |() into |adresse.|
|00004d10| 6f 66 66 66 72 6f 6d 20 | 74 68 65 4c 69 6e 65 2c |offfrom |theLine,|
|00004d20| 74 68 65 48 52 0d 65 6e | 64 20 64 69 72 65 63 74 |theHR.en|d direct|
|00004d30| 6c 69 6e 6b 0d 66 75 6e | 63 74 69 6f 6e 20 64 69 |link.fun|ction di|
|00004d40| 73 70 6f 6e 69 62 6c 65 | 20 74 68 65 6c 69 6e 65 |sponible| theline|
|00004d50| 0d 70 75 74 20 76 61 6c | 75 65 28 77 6f 72 64 20 |.put val|ue(word |
|00004d60| 31 20 6f 66 20 74 68 65 | 4c 69 6e 65 29 20 69 6e |1 of the|Line) in|
|00004d70| 74 6f 20 74 73 6e 31 0d | 70 75 74 20 76 61 6c 75 |to tsn1.|put valu|
|00004d80| 65 28 77 6f 72 64 20 32 | 20 6f 66 20 74 68 65 4c |e(word 2| of theL|
|00004d90| 69 6e 65 29 20 69 6e 74 | 6f 20 74 73 6e 32 0d 70 |ine) int|o tsn2.p|
|00004da0| 75 74 20 74 73 6e 31 20 | 26 20 63 6f 6d 6d 61 20 |ut tsn1 |& comma |
|00004db0| 26 20 74 73 6e 32 20 69 | 6e 74 6f 20 74 74 6e 0d |& tsn2 i|nto ttn.|
|00004dc0| 72 65 74 75 72 6e 20 74 | 74 6e 0d 65 6e 64 20 64 |return t|tn.end d|
|00004dd0| 69 73 70 6f 6e 69 62 6c | 65 0d 66 75 6e 63 74 69 |isponibl|e.functi|
|00004de0| 6f 6e 20 73 74 61 76 20 | 74 68 65 6c 69 6e 65 0d |on stav |theline.|
|00004df0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 73 74 |if there| is a st|
|00004e00| 61 63 6b 20 28 69 74 65 | 6d 20 32 20 6f 66 20 74 |ack (ite|m 2 of t|
|00004e10| 68 65 6c 69 6e 65 29 20 | 74 68 65 6e 20 72 65 74 |heline) |then ret|
|00004e20| 75 72 6e 20 74 72 75 65 | 0d 65 6c 73 65 20 72 65 |urn true|.else re|
|00004e30| 74 75 72 6e 20 66 61 6c | 73 65 0d 65 6e 64 20 73 |turn fal|se.end s|
|00004e40| 74 61 76 0d 0d 6f 6e 20 | 73 74 64 6c 69 6e 6b 20 |tav..on |stdlink |
|00004e50| 78 2c 79 0d 67 6c 6f 62 | 61 6c 20 72 6c 77 74 2c |x,y.glob|al rlwt,|
|00004e60| 6e 6f 6f 62 73 0d 70 75 | 74 20 65 6d 70 74 79 20 |noobs.pu|t empty |
|00004e70| 69 6e 74 6f 20 6e 6f 6f | 62 73 0d 70 75 74 20 65 |into noo|bs.put e|
|00004e80| 6d 70 74 79 20 69 6e 74 | 6f 20 6e 6f 6f 62 73 30 |mpty int|o noobs0|
|00004e90| 0d 69 66 20 79 20 69 73 | 20 65 6d 70 74 79 20 74 |.if y is| empty t|
|00004ea0| 68 65 6e 0d 70 75 74 20 | 64 69 73 70 6f 6e 69 62 |hen.put |disponib|
|00004eb0| 6c 65 28 78 29 20 69 6e | 74 6f 20 74 68 65 6c 69 |le(x) in|to theli|
|00004ec0| 6e 65 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |ne.put i|tem 1 of|
|00004ed0| 20 74 68 65 6c 69 6e 65 | 20 69 6e 74 6f 20 78 0d | theline| into x.|
|00004ee0| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 74 68 |put item| 2 of th|
|00004ef0| 65 6c 69 6e 65 20 69 6e | 74 6f 20 79 0d 65 6e 64 |eline in|to y.end|
|00004f00| 20 69 66 0d 70 75 74 20 | 67 65 6e 70 61 74 68 28 | if.put |genpath(|
|00004f10| 79 29 20 69 6e 74 6f 20 | 79 0d 69 66 20 74 68 65 |y) into |y.if the|
|00004f20| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 79 |re is a |window y|
|00004f30| 20 74 68 65 6e 0d 69 66 | 20 70 61 72 70 28 79 29 | then.if| parp(y)|
|00004f40| 20 69 73 20 6e 6f 74 20 | 79 20 74 68 65 6e 0d 6c | is not |y then.l|
|00004f50| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 73 68 6f 77 20 |ock scre|en.show |
|00004f60| 77 69 6e 64 6f 77 20 79 | 0d 70 75 74 20 74 72 75 |window y|.put tru|
|00004f70| 65 20 69 6e 74 6f 20 6e | 6f 6f 62 73 30 0d 65 6e |e into n|oobs0.en|
|00004f80| 64 20 69 66 0d 69 66 20 | 73 68 6f 72 74 20 6e 61 |d if.if |short na|
|00004f90| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |me of th|is card |
|00004fa0| 69 73 20 6e 6f 74 20 78 | 20 61 6e 64 20 78 20 69 |is not x| and x i|
|00004fb0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00004fc0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 63 |.if ther|e is a c|
|00004fd0| 61 72 64 20 78 20 6f 72 | 20 28 22 43 61 72 64 20 |ard x or| ("Card |
|00004fe0| 69 64 22 20 69 73 20 69 | 6e 20 78 20 61 6e 64 20 |id" is i|n x and |
|00004ff0| 74 68 65 72 65 20 69 73 | 20 61 20 63 61 72 64 20 |there is| a card |
|00005000| 69 64 20 28 6c 61 73 74 | 20 77 6f 72 64 20 6f 66 |id (last| word of|
|00005010| 20 78 29 29 20 74 68 65 | 6e 0d 69 66 20 6e 6f 6f | x)) the|n.if noo|
|00005020| 62 73 30 20 69 73 20 74 | 72 75 65 20 74 68 65 6e |bs0 is t|rue then|
|00005030| 20 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 6e | put tru|e into n|
|00005040| 6f 6f 62 73 0d 69 66 20 | 74 68 65 20 6c 6f 63 6b |oobs.if |the lock|
|00005050| 73 63 72 65 65 6e 20 69 | 73 20 66 61 6c 73 65 20 |screen i|s false |
|00005060| 74 68 65 6e 20 6c 6f 63 | 6b 20 73 63 72 65 65 6e |then loc|k screen|
|00005070| 0d 69 66 20 22 43 61 72 | 64 20 69 64 22 20 69 73 |.if "Car|d id" is|
|00005080| 20 6e 6f 74 20 69 6e 20 | 78 20 74 68 65 6e 20 67 | not in |x then g|
|00005090| 6f 20 63 61 72 64 20 78 | 0d 65 6c 73 65 20 67 6f |o card x|.else go|
|000050a0| 20 63 61 72 64 20 69 64 | 20 28 6c 61 73 74 20 77 | card id| (last w|
|000050b0| 6f 72 64 20 6f 66 20 78 | 29 0d 75 6e 6c 6f 63 6b |ord of x|).unlock|
|000050c0| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 76 69 73 | screen |with vis|
|000050d0| 75 61 6c 20 69 72 69 73 | 20 63 6c 6f 73 65 0d 70 |ual iris| close.p|
|000050e0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 6e 6f |ut empty| into no|
|000050f0| 6f 62 73 0d 65 6c 73 65 | 20 70 75 74 20 22 2d 2d |obs.else| put "--|
|00005100| 22 20 26 26 20 78 20 26 | 20 22 3f 22 0d 65 6c 73 |" && x &| "?".els|
|00005110| 65 20 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |e unlock| screen |
|00005120| 77 69 74 68 20 76 69 73 | 75 61 6c 20 69 72 69 73 |with vis|ual iris|
|00005130| 20 63 6c 6f 73 65 0d 65 | 6c 73 65 0d 69 66 20 78 | close.e|lse.if x|
|00005140| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 67 | is empt|y then g|
|00005150| 6f 20 73 74 61 63 6b 20 | 79 20 69 6e 20 61 20 6e |o stack |y in a n|
|00005160| 65 77 20 77 69 6e 64 6f | 77 0d 65 6c 73 65 0d 69 |ew windo|w.else.i|
|00005170| 66 20 22 43 61 72 64 20 | 69 64 22 20 69 73 20 6e |f "Card |id" is n|
|00005180| 6f 74 20 69 6e 20 78 20 | 74 68 65 6e 20 67 6f 20 |ot in x |then go |
|00005190| 63 61 72 64 20 78 20 6f | 66 20 73 74 61 63 6b 20 |card x o|f stack |
|000051a0| 79 20 69 6e 20 61 20 6e | 65 77 20 77 69 6e 64 6f |y in a n|ew windo|
|000051b0| 77 0d 65 6c 73 65 20 67 | 6f 20 63 61 72 64 20 69 |w.else g|o card i|
|000051c0| 64 20 28 6c 61 73 74 20 | 77 6f 72 64 20 6f 66 20 |d (last |word of |
|000051d0| 78 29 20 6f 66 20 73 74 | 61 63 6b 20 79 20 69 6e |x) of st|ack y in|
|000051e0| 20 61 20 6e 65 77 20 77 | 69 6e 64 6f 77 0d 65 6e | a new w|indow.en|
|000051f0| 64 20 69 66 0d 69 66 20 | 74 68 65 20 72 65 73 75 |d if.if |the resu|
|00005200| 6c 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |lt is "C|ancel" t|
|00005210| 68 65 6e 20 65 78 69 74 | 20 73 74 64 6c 69 6e 6b |hen exit| stdlink|
|00005220| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00005230| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00005240| 20 70 75 74 20 22 2d 2d | 22 20 26 26 20 78 20 26 | put "--|" && x &|
|00005250| 20 22 3f 22 20 2d 2d 20 | c6 0d 65 6e 64 20 69 66 | "?" -- |..end if|
|00005260| 0d 73 65 74 20 74 68 65 | 20 6c 6f 6e 67 77 69 6e |.set the| longwin|
|00005270| 64 6f 77 74 69 74 6c 65 | 73 20 74 6f 20 72 6c 77 |dowtitle|s to rlw|
|00005280| 74 0d 65 6e 64 20 73 74 | 64 6c 69 6e 6b 0d 6f 6e |t.end st|dlink.on|
|00005290| 20 62 73 6d 73 6e 77 69 | 6e 20 79 0d 67 6c 6f 62 | bsmsnwi|n y.glob|
|000052a0| 61 6c 20 72 6c 77 74 0d | 73 65 74 20 63 75 72 73 |al rlwt.|set curs|
|000052b0| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 70 75 74 20 |or to wa|tch.put |
|000052c0| 67 65 6e 70 61 74 68 28 | 79 29 20 69 6e 74 6f 20 |genpath(|y) into |
|000052d0| 79 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |y.if the|re is a |
|000052e0| 77 69 6e 64 6f 77 20 79 | 20 74 68 65 6e 0d 69 66 |window y| then.if|
|000052f0| 20 70 61 72 70 28 79 29 | 20 69 73 20 6e 6f 74 20 | parp(y)| is not |
|00005300| 79 20 74 68 65 6e 0d 73 | 68 6f 77 20 77 69 6e 64 |y then.s|how wind|
|00005310| 6f 77 20 79 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |ow y.end| if.else|
|00005320| 0d 67 6f 20 73 74 61 63 | 6b 20 79 20 69 6e 20 61 |.go stac|k y in a|
|00005330| 20 6e 65 77 20 77 69 6e | 64 6f 77 0d 69 66 20 74 | new win|dow.if t|
|00005340| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|00005350| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 67 6f 20 73 | empty t|hen go s|
|00005360| 74 61 63 6b 20 79 0d 65 | 6e 64 20 69 66 0d 73 65 |tack y.e|nd if.se|
|00005370| 74 20 74 68 65 20 6c 6f | 6e 67 77 69 6e 64 6f 77 |t the lo|ngwindow|
|00005380| 74 69 74 6c 65 73 20 74 | 6f 20 72 6c 77 74 0d 65 |titles t|o rlwt.e|
|00005390| 6e 64 20 62 73 6d 73 6e | 77 69 6e 0d 66 75 6e 63 |nd bsmsn|win.func|
|000053a0| 74 69 6f 6e 20 70 61 72 | 70 20 79 0d 70 75 74 20 |tion par|p y.put |
|000053b0| 79 20 69 6e 74 6f 20 79 | 79 0d 73 65 74 20 69 74 |y into y|y.set it|
|000053c0| 65 6d 64 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 63 |emdelimi|ter to c|
|000053d0| 6f 6c 6f 6e 0d 70 75 74 | 20 73 68 6f 72 74 20 6e |olon.put| short n|
|000053e0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|000053f0| 6b 20 69 6e 74 6f 20 6c | 61 73 74 20 69 74 65 6d |k into l|ast item|
|00005400| 20 6f 66 20 79 79 0d 73 | 65 74 20 69 74 65 6d 64 | of yy.s|et itemd|
|00005410| 65 6c 69 6d 69 74 65 72 | 20 74 6f 20 63 6f 6d 6d |elimiter| to comm|
|00005420| 61 0d 72 65 74 75 72 6e | 20 79 79 0d 65 6e 64 20 |a.return| yy.end |
|00005430| 70 61 72 70 0d 66 75 6e | 63 74 69 6f 6e 20 67 65 |parp.fun|ction ge|
|00005440| 6e 50 61 74 68 20 79 0d | 67 6c 6f 62 61 6c 20 72 |nPath y.|global r|
|00005450| 6c 77 74 0d 70 75 74 20 | 74 68 65 20 6c 6f 6e 67 |lwt.put |the long|
|00005460| 77 69 6e 64 6f 77 74 69 | 74 6c 65 73 20 69 6e 74 |windowti|tles int|
|00005470| 6f 20 72 6c 77 74 0d 73 | 65 74 20 74 68 65 20 69 |o rlwt.s|et the i|
|00005480| 74 65 6d 44 65 6c 69 6d | 69 74 65 72 20 74 6f 20 |temDelim|iter to |
|00005490| 63 6f 6c 6f 6e 0d 70 75 | 74 20 74 68 65 20 6e 75 |colon.pu|t the nu|
|000054a0| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 69 6e |mber of |items in|
|000054b0| 20 79 20 69 6e 74 6f 20 | 63 6f 75 6e 74 70 61 74 | y into |countpat|
|000054c0| 68 0d 73 65 74 20 74 68 | 65 20 69 74 65 6d 44 65 |h.set th|e itemDe|
|000054d0| 6c 69 6d 69 74 65 72 20 | 74 6f 20 63 6f 6d 6d 61 |limiter |to comma|
|000054e0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 73 |.if ther|e is a s|
|000054f0| 74 61 63 6b 20 79 20 74 | 68 65 6e 0d 69 66 20 63 |tack y t|hen.if c|
|00005500| 6f 75 6e 74 70 61 74 68 | 3e 31 20 74 68 65 6e 0d |ountpath|>1 then.|
|00005510| 73 65 74 20 74 68 65 20 | 6c 6f 6e 67 77 69 6e 64 |set the |longwind|
|00005520| 6f 77 74 69 74 6c 65 73 | 20 74 6f 20 74 72 75 65 |owtitles| to true|
|00005530| 0d 70 75 74 20 76 61 6c | 75 65 20 28 6c 61 73 74 |.put val|ue (last|
|00005540| 20 77 6f 72 64 20 6f 66 | 20 74 68 65 20 6c 6f 6e | word of| the lon|
|00005550| 67 20 6e 61 6d 65 20 6f | 66 20 73 74 61 63 6b 20 |g name o|f stack |
|00005560| 79 29 20 69 6e 74 6f 20 | 79 0d 65 6c 73 65 20 73 |y) into |y.else s|
|00005570| 65 74 20 74 68 65 20 6c | 6f 6e 67 77 69 6e 64 6f |et the l|ongwindo|
|00005580| 77 74 69 74 6c 65 73 20 | 74 6f 20 66 61 6c 73 65 |wtitles |to false|
|00005590| 0d 65 6c 73 65 20 65 78 | 69 74 20 74 6f 20 48 79 |.else ex|it to Hy|
|000055a0| 70 65 72 43 61 72 64 0d | 72 65 74 75 72 6e 20 79 |perCard.|return y|
|000055b0| 0d 65 6e 64 20 67 65 6e | 50 61 74 68 0d 6f 6e 20 |.end gen|Path.on |
|000055c0| 6f 66 66 66 72 6f 6d 20 | 69 2c 74 68 65 66 69 65 |offfrom |i,thefie|
|000055d0| 6c 64 69 64 0d 70 75 74 | 20 6c 69 6e 65 20 69 20 |ldid.put| line i |
|000055e0| 6f 66 20 66 69 65 6c 64 | 20 74 68 65 66 69 65 6c |of field| thefiel|
|000055f0| 64 69 64 20 69 6e 74 6f | 20 63 6f 6e 73 69 64 65 |did into| conside|
|00005600| 72 74 68 69 73 0d 69 66 | 20 63 6f 6e 73 69 64 65 |rthis.if| conside|
|00005610| 72 74 68 69 73 20 69 73 | 20 65 6d 70 74 79 20 74 |rthis is| empty t|
|00005620| 68 65 6e 20 65 78 69 74 | 20 6f 66 66 66 72 6f 6d |hen exit| offfrom|
|00005630| 0d 73 74 64 4c 69 6e 6b | 20 63 6f 6e 73 69 64 65 |.stdLink| conside|
|00005640| 72 74 68 69 73 0d 65 6e | 64 20 6f 66 66 66 72 6f |rthis.en|d offfro|
|00005650| 6d 0d 6f 6e 20 64 69 61 | 6c 6c 69 6e 6b 0d 67 6c |m.on dia|llink.gl|
|00005660| 6f 62 61 6c 20 6c 70 72 | 6d 70 74 2c 6c 65 74 69 |obal lpr|mpt,leti|
|00005670| 74 72 65 0d 61 73 6b 20 | 6c 69 6e 65 20 31 34 37 |tre.ask |line 147|
|00005680| 20 6f 66 20 6c 70 72 6d | 70 74 20 77 69 74 68 20 | of lprm|pt with |
|00005690| 6c 65 74 69 74 72 65 0d | 69 66 20 69 74 20 69 73 |letitre.|if it is|
|000056a0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 61 6e 64 20 74 | not emp|ty and t|
|000056b0| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|000056c0| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 0d 70 | "Cancel|" then.p|
|000056d0| 75 74 20 69 74 20 69 6e | 74 6f 20 6c 65 74 69 74 |ut it in|to letit|
|000056e0| 72 65 0d 6c 79 73 61 20 | 69 74 2c 66 61 6c 73 65 |re.lysa |it,false|
|000056f0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 64 69 61 6c |.end if.|end dial|
|00005700| 6c 69 6e 6b 0d 6f 6e 20 | 6c 79 73 61 20 6d 65 63 |link.on |lysa mec|
|00005710| 2c 74 72 61 6e 73 6c 6f | 63 61 6c 0d 67 6c 6f 62 |,translo|cal.glob|
|00005720| 61 6c 20 6c 79 73 44 65 | 6d 6f 2c 74 68 65 63 61 |al lysDe|mo,theca|
|00005730| 6c 6c 65 72 2c 62 73 6d | 73 69 6e 64 65 78 2c 62 |ller,bsm|sindex,b|
|00005740| 73 6d 73 69 6e 64 65 78 | 4c 51 2c 63 61 74 61 72 |smsindex|LQ,catar|
|00005750| 62 43 2c 6c 61 70 68 2c | 75 6e 4c 61 70 68 2c 74 |bC,laph,|unLaph,t|
|00005760| 68 65 69 64 2c 63 6f 6f | 6c 67 6c 6f 2c 62 73 6d |heid,coo|lglo,bsm|
|00005770| 73 6c 69 6e 6b 4b 57 2c | 62 73 6d 73 6c 69 6e 6b |slinkKW,|bsmslink|
|00005780| 48 52 2c 62 73 6d 73 6c | 69 6e 6b 4c 52 2c 70 72 |HR,bsmsl|inkLR,pr|
|00005790| 6d 70 74 2c 6c 70 72 6d | 70 74 0d 69 66 20 74 68 |mpt,lprm|pt.if th|
|000057a0| 65 20 73 68 69 66 74 4b | 65 79 20 69 73 20 64 6f |e shiftK|ey is do|
|000057b0| 77 6e 20 74 68 65 6e 20 | 70 75 74 20 74 72 75 65 |wn then |put true|
|000057c0| 20 69 6e 74 6f 20 63 6f | 6f 6c 0d 65 6c 73 65 20 | into co|ol.else |
|000057d0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 63 |put fals|e into c|
|000057e0| 6f 6f 6c 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ool.set |cursor t|
|000057f0| 6f 20 77 61 74 63 68 0d | 70 75 74 20 65 6d 70 74 |o watch.|put empt|
|00005800| 79 20 69 6e 74 6f 20 74 | 68 65 4c 69 6e 65 0d 70 |y into t|heLine.p|
|00005810| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 68 65 |ut empty| into he|
|00005820| 79 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |y.put em|pty into|
|00005830| 20 74 68 65 53 74 79 6c | 65 0d 69 66 20 6d 65 63 | theStyl|e.if mec|
|00005840| 20 69 73 20 74 72 75 65 | 20 74 68 65 6e 0d 70 75 | is true| then.pu|
|00005850| 74 20 74 68 65 20 63 6c | 69 63 6b 43 68 75 6e 6b |t the cl|ickChunk|
|00005860| 20 69 6e 74 6f 20 74 68 | 65 43 68 75 6e 6b 4f 66 | into th|eChunkOf|
|00005870| 54 65 78 74 0d 69 66 20 | 74 68 65 43 68 75 6e 6b |Text.if |theChunk|
|00005880| 4f 66 54 65 78 74 20 69 | 73 20 65 6d 70 74 79 20 |OfText i|s empty |
|00005890| 74 68 65 6e 20 65 78 69 | 74 20 6c 79 73 61 0d 70 |then exi|t lysa.p|
|000058a0| 75 74 20 74 68 65 20 74 | 65 78 74 53 74 79 6c 65 |ut the t|extStyle|
|000058b0| 20 6f 66 20 74 68 65 43 | 68 75 6e 6b 4f 66 54 65 | of theC|hunkOfTe|
|000058c0| 78 74 20 69 6e 74 6f 20 | 74 68 65 53 74 79 6c 65 |xt into |theStyle|
|000058d0| 0d 69 66 20 22 67 72 6f | 75 70 22 20 69 73 20 6e |.if "gro|up" is n|
|000058e0| 6f 74 20 69 6e 20 74 68 | 65 53 74 79 6c 65 20 74 |ot in th|eStyle t|
|000058f0| 68 65 6e 0d 70 75 74 20 | 76 61 6c 75 65 28 74 68 |hen.put |value(th|
|00005900| 65 20 63 6c 69 63 6b 6c | 69 6e 65 29 20 69 6e 74 |e clickl|ine) int|
|00005910| 6f 20 6c 61 70 68 41 0d | 70 75 74 20 64 6f 77 68 |o laphA.|put dowh|
|00005920| 6f 6c 65 4c 69 6e 65 28 | 29 20 69 6e 74 6f 20 70 |oleLine(|) into p|
|00005930| 69 74 63 68 69 74 0d 65 | 6c 73 65 0d 70 75 74 20 |itchit.e|lse.put |
|00005940| 74 68 65 20 63 6c 69 63 | 6b 54 65 78 74 20 69 6e |the clic|kText in|
|00005950| 74 6f 20 6c 61 70 68 41 | 0d 73 65 6c 65 63 74 20 |to laphA|.select |
|00005960| 74 68 65 43 68 75 6e 6b | 4f 66 54 65 78 74 0d 65 |theChunk|OfText.e|
|00005970| 6e 64 20 69 66 0d 65 6c | 73 65 0d 70 75 74 20 6d |nd if.el|se.put m|
|00005980| 65 63 20 69 6e 74 6f 20 | 6c 61 70 68 41 0d 65 6e |ec into |laphA.en|
|00005990| 64 20 69 66 0d 70 75 74 | 20 73 74 72 69 70 50 61 |d if.put| stripPa|
|000059a0| 74 68 32 28 6c 61 70 68 | 41 29 20 69 6e 74 6f 20 |th2(laph|A) into |
|000059b0| 6c 61 70 68 41 0d 69 66 | 20 6c 61 70 68 41 20 69 |laphA.if| laphA i|
|000059c0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|000059d0| 74 20 6c 79 73 61 0d 70 | 75 74 20 71 75 6f 74 65 |t lysa.p|ut quote|
|000059e0| 20 26 20 6c 61 70 68 41 | 20 26 20 71 75 6f 74 65 | & laphA| & quote|
|000059f0| 20 69 6e 74 6f 20 6c 61 | 70 68 42 0d 70 75 74 20 | into la|phB.put |
|00005a00| 70 61 72 70 28 6c 61 70 | 68 41 29 20 69 6e 74 6f |parp(lap|hA) into|
|00005a10| 20 73 6e 74 68 73 0d 70 | 75 74 20 71 75 6f 74 65 | snths.p|ut quote|
|00005a20| 20 26 20 73 6e 74 68 73 | 20 26 20 71 75 6f 74 65 | & snths| & quote|
|00005a30| 20 69 6e 74 6f 20 73 6e | 74 68 73 42 0d 70 75 74 | into sn|thsB.put|
|00005a40| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00005a50| 68 69 73 20 63 61 72 64 | 20 69 6e 74 6f 20 73 6e |his card| into sn|
|00005a60| 74 68 63 0d 70 75 74 20 | 71 75 6f 74 65 20 26 20 |thc.put |quote & |
|00005a70| 73 6e 74 68 63 20 26 20 | 71 75 6f 74 65 20 69 6e |snthc & |quote in|
|00005a80| 74 6f 20 73 6e 74 68 63 | 42 0d 69 66 20 74 68 65 |to snthc|B.if the|
|00005a90| 72 65 20 69 73 20 61 20 | 63 61 72 64 20 6c 61 70 |re is a |card lap|
|00005aa0| 68 41 20 61 6e 64 20 6c | 61 70 68 41 20 69 73 20 |hA and l|aphA is |
|00005ab0| 6e 6f 74 20 73 6e 74 68 | 63 20 74 68 65 6e 0d 76 |not snth|c then.v|
|00005ac0| 69 73 75 61 6c 20 69 72 | 69 73 20 63 6c 6f 73 65 |isual ir|is close|
|00005ad0| 0d 67 6f 20 63 61 72 64 | 20 6c 61 70 68 41 0d 65 |.go card| laphA.e|
|00005ae0| 78 69 74 20 6c 79 73 61 | 0d 65 6c 73 65 0d 69 66 |xit lysa|.else.if|
|00005af0| 20 74 68 65 72 65 20 69 | 73 20 61 20 73 74 61 63 | there i|s a stac|
|00005b00| 6b 20 6c 61 70 68 41 20 | 61 6e 64 20 6c 61 70 68 |k laphA |and laph|
|00005b10| 41 20 69 73 20 6e 6f 74 | 20 73 6e 74 68 73 20 74 |A is not| snths t|
|00005b20| 68 65 6e 0d 62 73 6d 73 | 6e 77 69 6e 20 6c 61 70 |hen.bsms|nwin lap|
|00005b30| 68 41 0d 65 78 69 74 20 | 6c 79 73 61 0d 65 6e 64 |hA.exit |lysa.end|
|00005b40| 20 69 66 0d 65 6e 64 20 | 69 66 0d 69 66 20 74 68 | if.end |if.if th|
|00005b50| 65 72 65 20 69 73 20 61 | 20 66 69 65 6c 64 20 22 |ere is a| field "|
|00005b60| 74 68 65 6d 61 73 74 65 | 72 22 20 74 68 65 6e 0d |themaste|r" then.|
|00005b70| 70 75 74 20 66 69 65 6c | 64 20 22 74 68 65 6d 61 |put fiel|d "thema|
|00005b80| 73 74 65 72 22 20 69 6e | 74 6f 20 77 65 69 67 68 |ster" in|to weigh|
|00005b90| 73 61 74 6f 6e 0d 70 75 | 74 20 73 65 61 72 63 68 |saton.pu|t search|
|00005ba0| 28 77 65 69 67 68 73 61 | 74 6f 6e 2c 6c 61 70 68 |(weighsa|ton,laph|
|00005bb0| 42 2c 66 61 6c 73 65 29 | 20 69 6e 74 6f 20 68 65 |B,false)| into he|
|00005bc0| 79 0d 69 66 20 68 65 79 | 20 69 73 20 6e 6f 74 20 |y.if hey| is not |
|00005bd0| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 6c |empty th|en.put l|
|00005be0| 69 6e 65 20 69 74 65 6d | 20 31 20 6f 66 20 68 65 |ine item| 1 of he|
|00005bf0| 79 20 6f 66 20 77 65 69 | 67 68 73 61 74 6f 6e 20 |y of wei|ghsaton |
|00005c00| 69 6e 74 6f 20 74 68 65 | 6c 69 6e 65 0d 70 75 74 |into the|line.put|
|00005c10| 20 74 72 75 65 20 69 6e | 74 6f 20 6c 6f 63 61 6c | true in|to local|
|00005c20| 6c 69 6e 6b 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |link.end| if.end |
|00005c30| 69 66 0d 69 66 20 68 65 | 79 20 69 73 20 65 6d 70 |if.if he|y is emp|
|00005c40| 74 79 20 74 68 65 6e 0d | 70 75 74 20 73 65 61 72 |ty then.|put sear|
|00005c50| 63 68 28 62 73 6d 73 69 | 6e 64 65 78 4c 51 2c 6c |ch(bsmsi|ndexLQ,l|
|00005c60| 61 70 68 42 2c 66 61 6c | 73 65 29 20 69 6e 74 6f |aphB,fal|se) into|
|00005c70| 20 68 65 79 0d 69 66 20 | 68 65 79 20 69 73 20 6e | hey.if |hey is n|
|00005c80| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |ot empty| then pu|
|00005c90| 74 20 6c 69 6e 65 20 69 | 74 65 6d 20 31 20 6f 66 |t line i|tem 1 of|
|00005ca0| 20 68 65 79 20 6f 66 20 | 62 73 6d 73 69 6e 64 65 | hey of |bsmsinde|
|00005cb0| 78 20 69 6e 74 6f 20 74 | 68 65 6c 69 6e 65 0d 65 |x into t|heline.e|
|00005cc0| 6e 64 20 69 66 0d 69 66 | 20 68 65 79 20 69 73 20 |nd if.if| hey is |
|00005cd0| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 73 |empty th|en.put s|
|00005ce0| 65 61 72 63 68 28 62 73 | 6d 73 6c 69 6e 6b 48 52 |earch(bs|mslinkHR|
|00005cf0| 2c 6c 61 70 68 42 2c 66 | 61 6c 73 65 29 20 69 6e |,laphB,f|alse) in|
|00005d00| 74 6f 20 68 65 79 0d 69 | 66 20 68 65 79 20 69 73 |to hey.i|f hey is|
|00005d10| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 20 | not emp|ty then |
|00005d20| 70 75 74 20 6c 69 6e 65 | 20 69 74 65 6d 20 31 20 |put line| item 1 |
|00005d30| 6f 66 20 68 65 79 20 6f | 66 20 62 73 6d 73 6c 69 |of hey o|f bsmsli|
|00005d40| 6e 6b 48 52 20 69 6e 74 | 6f 20 74 68 65 6c 69 6e |nkHR int|o thelin|
|00005d50| 65 0d 65 6e 64 20 69 66 | 0d 69 66 20 68 65 79 20 |e.end if|.if hey |
|00005d60| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005d70| 6e 0d 70 75 74 20 63 6f | 6d 70 6f 73 6e 6f 6d 28 |n.put co|mposnom(|
|00005d80| 29 20 69 6e 74 6f 20 74 | 68 65 74 69 74 6c 65 52 |) into t|hetitleR|
|00005d90| 0d 70 75 74 20 64 69 73 | 70 6f 6e 69 62 6c 65 28 |.put dis|ponible(|
|00005da0| 74 68 65 6c 69 6e 65 29 | 20 69 6e 74 6f 20 69 6d |theline)| into im|
|00005db0| 68 65 72 65 0d 69 66 20 | 6c 6f 63 61 6c 6c 69 6e |here.if |locallin|
|00005dc0| 6b 20 69 73 20 6e 6f 74 | 20 74 72 75 65 20 61 6e |k is not| true an|
|00005dd0| 64 20 74 72 61 6e 73 6c | 6f 63 61 6c 20 69 73 20 |d transl|ocal is |
|00005de0| 6e 6f 74 20 66 61 6c 73 | 65 20 74 68 65 6e 20 62 |not fals|e then b|
|00005df0| 73 6d 73 6c 69 6e 6b 20 | 74 68 65 4c 69 6e 65 0d |smslink |theLine.|
|00005e00| 70 75 74 20 69 74 65 6d | 20 31 20 6f 66 20 69 6d |put item| 1 of im|
|00005e10| 68 65 72 65 20 69 6e 74 | 6f 20 78 0d 70 75 74 20 |here int|o x.put |
|00005e20| 69 74 65 6d 20 32 20 6f | 66 20 69 6d 68 65 72 65 |item 2 o|f imhere|
|00005e30| 20 69 6e 74 6f 20 79 0d | 73 74 64 6c 69 6e 6b 20 | into y.|stdlink |
|00005e40| 78 2c 79 0d 2d 2d 20 69 | 66 20 73 68 6f 72 74 20 |x,y.-- i|f short |
|00005e50| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 61 72 |name of |this car|
|00005e60| 64 20 69 73 20 78 20 61 | 6e 64 20 74 72 61 6e 73 |d is x a|nd trans|
|00005e70| 6c 6f 63 61 6c 20 69 73 | 20 6e 6f 74 20 66 61 6c |local is| not fal|
|00005e80| 73 65 20 74 68 65 6e 20 | 62 73 6d 73 6c 69 6e 6b |se then |bsmslink|
|00005e90| 20 74 68 65 74 69 74 6c | 65 52 0d 65 78 69 74 20 | thetitl|eR.exit |
|00005ea0| 6c 79 73 61 0d 65 6e 64 | 20 69 66 0d 2d 2d 20 70 |lysa.end| if.-- p|
|00005eb0| 75 74 20 22 2d 2d 20 6c | 69 6e 6b 20 66 61 69 6c |ut "-- l|ink fail|
|00005ec0| 73 22 0d 69 66 20 63 6f | 6f 6c 20 69 73 20 6e 6f |s".if co|ol is no|
|00005ed0| 74 20 74 72 75 65 20 6f | 72 20 6c 79 73 44 65 6d |t true o|r lysDem|
|00005ee0| 6f 20 69 73 20 74 72 75 | 65 20 74 68 65 6e 20 65 |o is tru|e then e|
|00005ef0| 78 69 74 20 6c 79 73 61 | 0d 69 66 20 74 68 65 72 |xit lysa|.if ther|
|00005f00| 65 20 69 73 20 6e 6f 74 | 20 61 20 66 69 65 6c 64 |e is not| a field|
|00005f10| 20 22 74 68 65 6d 61 73 | 74 65 72 22 20 74 68 65 | "themas|ter" the|
|00005f20| 6e 20 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |n put tr|ue into |
|00005f30| 63 6f 6f 6c 67 6c 6f 0d | 65 6c 73 65 0d 61 6e 73 |coolglo.|else.ans|
|00005f40| 77 65 72 20 6c 69 6e 65 | 20 31 39 20 6f 66 20 6c |wer line| 19 of l|
|00005f50| 70 72 6d 70 74 20 77 69 | 74 68 20 6c 69 6e 65 20 |prmpt wi|th line |
|00005f60| 32 20 6f 66 20 70 72 6d | 70 74 2c 6c 69 6e 65 20 |2 of prm|pt,line |
|00005f70| 31 33 20 6f 66 20 70 72 | 6d 70 74 2c 6c 69 6e 65 |13 of pr|mpt,line|
|00005f80| 20 31 34 20 6f 66 20 70 | 72 6d 70 74 20 2d 2d c6 | 14 of p|rmpt --.|
|00005f90| 0d 69 66 20 69 74 20 69 | 73 20 6c 69 6e 65 20 32 |.if it i|s line 2|
|00005fa0| 20 6f 66 20 70 72 6d 70 | 74 20 74 68 65 6e 20 65 | of prmp|t then e|
|00005fb0| 78 69 74 20 6c 79 73 61 | 0d 69 66 20 69 74 20 69 |xit lysa|.if it i|
|00005fc0| 73 20 6c 69 6e 65 20 31 | 33 20 6f 66 20 70 72 6d |s line 1|3 of prm|
|00005fd0| 70 74 20 74 68 65 6e 20 | 70 75 74 20 66 61 6c 73 |pt then |put fals|
|00005fe0| 65 20 69 6e 74 6f 20 63 | 6f 6f 6c 67 6c 6f 0d 65 |e into c|oolglo.e|
|00005ff0| 6c 73 65 20 70 75 74 20 | 74 72 75 65 20 69 6e 74 |lse put |true int|
|00006000| 6f 20 63 6f 6f 6c 67 6c | 6f 0d 65 6e 64 20 69 66 |o coolgl|o.end if|
|00006010| 0d 70 75 74 20 6c 61 70 | 68 41 20 69 6e 74 6f 20 |.put lap|hA into |
|00006020| 75 6e 4c 61 70 68 0d 70 | 75 74 20 6c 61 70 68 42 |unLaph.p|ut laphB|
|00006030| 20 69 6e 74 6f 20 6c 61 | 70 68 0d 70 75 74 20 63 | into la|ph.put c|
|00006040| 6f 6d 70 6f 73 69 64 28 | 29 20 69 6e 74 6f 20 74 |omposid(|) into t|
|00006050| 68 65 69 64 0d 70 75 74 | 20 63 6f 6d 70 6f 73 6e |heid.put| composn|
|00006060| 6f 6d 28 29 20 69 6e 74 | 6f 20 74 68 65 63 61 6c |om() int|o thecal|
|00006070| 6c 65 72 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ler.if t|here is |
|00006080| 6e 6f 74 20 61 20 77 69 | 6e 64 6f 77 20 22 62 73 |not a wi|ndow "bs|
|00006090| 6d 73 4b 69 74 65 50 61 | 6c 22 20 74 68 65 6e 0d |msKitePa|l" then.|
|000060a0| 70 75 74 20 28 72 69 67 | 68 74 20 6f 66 20 74 68 |put (rig|ht of th|
|000060b0| 69 73 20 63 61 72 64 29 | 20 64 69 76 20 32 20 69 |is card)| div 2 i|
|000060c0| 6e 74 6f 20 74 68 65 78 | 0d 70 75 74 20 28 62 6f |nto thex|.put (bo|
|000060d0| 74 74 6f 6d 20 6f 66 20 | 74 68 69 73 20 63 61 72 |ttom of |this car|
|000060e0| 64 29 20 64 69 76 20 32 | 20 69 6e 74 6f 20 74 68 |d) div 2| into th|
|000060f0| 65 79 0d 70 75 74 20 74 | 68 65 78 20 26 20 63 6f |ey.put t|hex & co|
|00006100| 6d 6d 61 20 26 20 74 68 | 65 79 20 69 6e 74 6f 20 |mma & th|ey into |
|00006110| 74 68 65 78 79 0d 70 61 | 6c 65 74 74 65 20 22 62 |thexy.pa|lette "b|
|00006120| 73 6d 73 4b 69 74 65 50 | 61 6c 22 2c 74 68 65 78 |smsKiteP|al",thex|
|00006130| 79 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6c 79 73 |y.end if|.end lys|
|00006140| 61 0d 0d 6f 6e 20 6c 79 | 73 62 20 6d 65 63 0d 67 |a..on ly|sb mec.g|
|00006150| 6c 6f 62 61 6c 20 62 73 | 6d 73 69 6e 64 65 78 2c |lobal bs|msindex,|
|00006160| 62 73 6d 73 69 6e 64 65 | 78 4c 51 2c 63 61 74 61 |bsmsinde|xLQ,cata|
|00006170| 72 62 43 2c 6c 61 70 68 | 2c 75 6e 4c 61 70 68 2c |rbC,laph|,unLaph,|
|00006180| 74 68 65 69 64 2c 63 6f | 6f 6c 67 6c 6f 2c 62 73 |theid,co|olglo,bs|
|00006190| 6d 73 6c 69 6e 6b 4b 57 | 2c 62 73 6d 73 6c 69 6e |mslinkKW|,bsmslin|
|000061a0| 6b 48 52 2c 62 73 6d 73 | 6c 69 6e 6b 4c 52 2c 70 |kHR,bsms|linkLR,p|
|000061b0| 72 6d 70 74 2c 6c 70 72 | 6d 70 74 0d 69 66 20 74 |rmpt,lpr|mpt.if t|
|000061c0| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 66 69 |here is |not a fi|
|000061d0| 65 6c 64 20 22 74 68 65 | 6d 61 73 74 65 72 22 20 |eld "the|master" |
|000061e0| 74 68 65 6e 20 70 75 74 | 20 66 61 6c 73 65 20 69 |then put| false i|
|000061f0| 6e 74 6f 20 63 68 65 63 | 6b 6c 6f 63 61 6c 73 0d |nto chec|klocals.|
|00006200| 65 6c 73 65 20 70 75 74 | 20 74 72 75 65 20 69 6e |else put| true in|
|00006210| 74 6f 20 63 68 65 63 6b | 6c 6f 63 61 6c 73 0d 73 |to check|locals.s|
|00006220| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00006230| 63 68 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |ch.put e|mpty int|
|00006240| 6f 20 74 68 65 4c 69 6e | 65 0d 70 75 74 20 65 6d |o theLin|e.put em|
|00006250| 70 74 79 20 69 6e 74 6f | 20 68 65 79 0d 70 75 74 |pty into| hey.put|
|00006260| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 74 68 65 53 | empty i|nto theS|
|00006270| 74 79 6c 65 0d 69 66 20 | 6d 65 63 20 69 73 20 74 |tyle.if |mec is t|
|00006280| 72 75 65 20 74 68 65 6e | 0d 70 75 74 20 74 68 65 |rue then|.put the|
|00006290| 20 63 6c 69 63 6b 43 68 | 75 6e 6b 20 69 6e 74 6f | clickCh|unk into|
|000062a0| 20 74 68 65 43 68 75 6e | 6b 4f 66 54 65 78 74 0d | theChun|kOfText.|
|000062b0| 70 75 74 20 74 68 65 20 | 74 65 78 74 53 74 79 6c |put the |textStyl|
|000062c0| 65 20 6f 66 20 74 68 65 | 43 68 75 6e 6b 4f 66 54 |e of the|ChunkOfT|
|000062d0| 65 78 74 20 69 6e 74 6f | 20 74 68 65 53 74 79 6c |ext into| theStyl|
|000062e0| 65 0d 69 66 20 22 67 72 | 6f 75 70 22 20 69 73 20 |e.if "gr|oup" is |
|000062f0| 6e 6f 74 20 69 6e 20 74 | 68 65 53 74 79 6c 65 20 |not in t|heStyle |
|00006300| 74 68 65 6e 0d 70 75 74 | 20 76 61 6c 75 65 28 74 |then.put| value(t|
|00006310| 68 65 20 63 6c 69 63 6b | 6c 69 6e 65 29 20 69 6e |he click|line) in|
|00006320| 74 6f 20 6c 61 70 68 41 | 0d 70 75 74 20 64 6f 77 |to laphA|.put dow|
|00006330| 68 6f 6c 65 4c 69 6e 65 | 28 29 20 69 6e 74 6f 20 |holeLine|() into |
|00006340| 70 69 74 63 68 69 74 0d | 65 6c 73 65 0d 70 75 74 |pitchit.|else.put|
|00006350| 20 74 68 65 20 63 6c 69 | 63 6b 54 65 78 74 20 69 | the cli|ckText i|
|00006360| 6e 74 6f 20 6c 61 70 68 | 41 0d 73 65 6c 65 63 74 |nto laph|A.select|
|00006370| 20 74 68 65 43 68 75 6e | 6b 4f 66 54 65 78 74 0d | theChun|kOfText.|
|00006380| 65 6e 64 20 69 66 0d 65 | 6c 73 65 20 70 75 74 20 |end if.e|lse put |
|00006390| 6d 65 63 20 69 6e 74 6f | 20 6c 61 70 68 41 0d 70 |mec into| laphA.p|
|000063a0| 75 74 20 73 74 72 69 70 | 50 61 74 68 32 28 6c 61 |ut strip|Path2(la|
|000063b0| 70 68 41 29 20 69 6e 74 | 6f 20 6c 61 70 68 41 0d |phA) int|o laphA.|
|000063c0| 69 66 20 6c 61 70 68 41 | 20 69 73 20 65 6d 70 74 |if laphA| is empt|
|000063d0| 79 20 74 68 65 6e 20 65 | 78 69 74 20 6c 79 73 62 |y then e|xit lysb|
|000063e0| 0d 73 65 74 20 69 74 65 | 6d 64 65 6c 69 6d 69 74 |.set ite|mdelimit|
|000063f0| 65 72 20 74 6f 20 63 6f | 6c 6f 6e 0d 70 75 74 20 |er to co|lon.put |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.